Example #1
0
 /**
  * Add a Crud page factory to the component so that all the stock CRUD
  * pages are available.
  *
  * @param Pimple $pimple
  * @param null $componentName
  */
 public function __construct(Pimple $pimple = null, $componentName = null)
 {
     parent::__construct($pimple, $componentName);
     $this->addPageFactory(new CrudFactory($this));
 }