protected function getComposerData()
    {
        if (null == $this->composerData) {
            $json = file_get_contents($this->getComposerFile());
            $this->composerData = json_decode($json);

            if (null === $this->composerData) {
                throw new ComposerParseException(
                    "Error parsing file {$this->getComposerFile()}"
                );
            }
        }

        return $this->composerData;
    }
protected function getComposerData()
    {
        if (null == $this->composerData) {
            $json = file_get_contents($this->getComposerFile());
            $this->composerData = json_decode($json);

            if (null === $this->composerData) {
                throw new ComposerParseException(
                    "Error parsing file {$this->getComposerFile()}"
                );
            }
        }

        return $this->composerData;
    }
protected function getComposerData ( ) { if ( null == $ this -> composerData ) { $ json = file_get_contents ( $ this -> getComposerFile ( ) ) ; $ this -> composerData = json_decode ( $ json ) ; if ( null === $ this -> composerData ) { throw new ComposerParseException ( "Error parsing file {$this->getComposerFile()}" ) ; } } return $ this -> composerData ; }
Gets the data object from json file

@return mixed|Object
Gets the data object from json file