for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Dtc\GridBundle\Grid\Source;
abstract class AbstractDoctrineGridSource extends AbstractGridSource
{
protected $objectManager;
protected $idColumn;
protected $objectName;
public function __construct($objectManager, $objectName)
$this->objectManager = $objectManager;
$this->objectName = $objectName;
}
public function setIdColumn($idColumn)
$this->idColumn = $idColumn;
public function hasIdColumn()
return $this->idColumn ? true : false;