for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Povs\ListerBundle\Service;
use Povs\ListerBundle\Declaration\ListerInterface;
use Symfony\Component\HttpFoundation\Response;
/**
* @author Povilas Margaiatis <[email protected]>
*/
class Lister implements ListerInterface
{
* @var ListManager
private $listManager;
* @param ListManager $listManager
public function __construct(ListManager $listManager)
$this->listManager = $listManager;
}
* @inheritDoc
public function buildList(string $list, string $type, array $parameters = []): ListerInterface
$this->listManager->buildList($list, $type, $parameters);
return $this;
public function generateResponse(array $options = []): Response
return $this->listManager->getResponse($options);
public function generateData(array $options = [])
return $this->listManager->getData($options);