protected function parseComposerContent($output, $resource, $path, $rev)
    {
        if (!trim($output)) {
            return array('_nonexistent_package' => true);
        }

        $composer = (array) JsonFile::parseJson($output, $this->baseUrl.$resource.$rev);

        return $this->addComposerTime($composer, $path, $rev);
    }
protected function parseComposerContent($output, $resource, $path, $rev)
    {
        if (!trim($output)) {
            return array('_nonexistent_package' => true);
        }

        $composer = (array) JsonFile::parseJson($output, $this->baseUrl.$resource.$rev);

        return $this->addComposerTime($composer, $path, $rev);
    }
protected function parseComposerContent ( $ output , $ resource , $ path , $ rev ) { if ( ! trim ( $ output ) ) { return array ( '_nonexistent_package' => true ) ; } $ composer = ( array ) JsonFile :: parseJson ( $ output , $ this -> baseUrl . $ resource . $ rev ) ; return $ this -> addComposerTime ( $ composer , $ path , $ rev ) ; }
Parse the content of composer.

@param null|string $output   The output of process executor
@param string      $resource The resouce
@param string      $path     The path
@param string      $rev      The rev

@return array The composer
Parse the content of composer .