for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Knp\RadBundle\tests\fixtures;
use Knp\RadBundle\Doctrine\EntityRepository;
class RADRepository extends EntityRepository
{
public function buildValid()
return $this
->build()
->where($this->getAlias().'.foo = bar')
;
}
public function buildOneValid($id)
->buildOne($id)