for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Fi\CoreBundle\DependencyInjection;
use Fi\CoreBundle\DependencyInjection\JqgridDati;
use Fi\CoreBundle\DependencyInjection\JqgridTestata;
/**
* Description of Jqgrid.
*
* @author manzolo
*/
class GridTestata
{
private $grid;
public function __construct($testata)
if (isset($testata["gridtype"])) {
$gridtype = $testata["gridtype"];
} else {
$gridtype = 'Jqgrid';
}
$class = '\\Fi\\CoreBundle\\DependencyInjection\\' . $gridtype . "Testata";
$this->grid = new $class($testata);
public function getResponse()
return $this->grid->getResponse();