for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace LAG\SmokerBundle\Url\Collection;
use LAG\SmokerBundle\Url\Url;
class UrlCollection
{
protected $urls = [];
public function add(Url $url): void
$this->urls[] = $url;
}
/**
* @return Url[]
*/
public function all(): array
return $this->urls;
public function count(): int
return count($this->urls);