Repository/Yaml/RepoRepository.php
public function findAll()
    {
        $repos = array();

        foreach ($this->getRows() as $row) {
            $repo = $this->createNew();
            $repo->setId($row['id']);
            $repo->setSlug($row['slug']);
            $repo->setType($row['type']);
            $repo->setQualityBadgeHash($row['qualityBadgeHash']);
            $repo->setCoverageBadgeHash($row['coverageBadgeHash']);
            $repos[] = $repo;
        }

        return $repos;
    }
public function findAll()
    {
        $repos = array();

        foreach ($this->getRows() as $row) {
            $repo = $this->createNew();
            $repo->setId($row['id']);
            $repo->setSlug($row['slug']);
            $repo->setType($row['type']);
            $repo->setQualityBadgeHash($row['qualityBadgeHash']);
            $repo->setCoverageBadgeHash($row['coverageBadgeHash']);
            $repos[] = $repo;
        }

        return $repos;
    }
public function findAll ( ) { $ repos = array ( ) ; foreach ( $ this -> getRows ( ) as $ row ) { $ repo = $ this -> createNew ( ) ; $ repo -> setId ( $ row [ 'id' ] ) ; $ repo -> setSlug ( $ row [ 'slug' ] ) ; $ repo -> setType ( $ row [ 'type' ] ) ; $ repo -> setQualityBadgeHash ( $ row [ 'qualityBadgeHash' ] ) ; $ repo -> setCoverageBadgeHash ( $ row [ 'coverageBadgeHash' ] ) ; $ repos [ ] = $ repo ; } return $ repos ; }
Retrieve all repos

@return array
Retrieve all repos