Reader/ComposerReader.php
public function load($slug, $branch = 'master')
    {
        $this->data = array();
        $this->httpClient->setBaseUrl($this->helper->getRawFileUrl($slug, $branch, ''));

        $this->data = $this->getResponse('composer.json');
    }
public function load($slug, $branch = 'master')
    {
        $this->data = array();
        $this->httpClient->setBaseUrl($this->helper->getRawFileUrl($slug, $branch, ''));

        $this->data = $this->getResponse('composer.json');
    }
public function load ( $ slug , $ branch = 'master' ) { $ this -> data = array ( ) ; $ this -> httpClient -> setBaseUrl ( $ this -> helper -> getRawFileUrl ( $ slug , $ branch , '' ) ) ; $ this -> data = $ this -> getResponse ( 'composer.json' ) ; }
Load Composer data by reading composer.json file

@param string $slug Repository slug
@param string $branch Repository branch
@throws \UnexpectedValueException
Load Composer data by reading composer . json file