for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Guillermoandrae\Highrise\Repositories;
use Guillermoandrae\Common\CollectionInterface;
class PeopleRepository extends AbstractRepository
{
public function findByCompanyId($id): CollectionInterface
$uri = sprintf('/companies/%s/%s.xml', $id, $this->getName());
$results = $this->getAdapter()->request('GET', $uri);
return $this->hydrate($results);
}