public function findPackages($name, $constraint = null)
    {
        $packages = array();
        foreach ($this->repositories as $repository) {
            /* @var $repository RepositoryInterface */
            $packages[] = $repository->findPackages($name, $constraint);
        }

        return $packages ? call_user_func_array('array_merge', $packages) : array();
    }
public function findPackages($name, $constraint = null)
    {
        $packages = array();
        foreach ($this->repositories as $repository) {
            
            $packages[] = $repository->findPackages($name, $constraint);
        }

        return $packages ? call_user_func_array('array_merge', $packages) : array();
    }
public function findPackages ( $ name , $ constraint = null ) { $ packages = array ( ) ; foreach ( $ this -> repositories as $ repository ) { /* @var $repository RepositoryInterface */ $ packages [ ] = $ repository -> findPackages ( $ name , $ constraint ) ; } return $ packages ? call_user_func_array ( 'array_merge' , $ packages ) : array ( ) ; }
{@inheritdoc}
{