Example #1
0
 public function __construct()
 {
     parent::__construct();
     $reflection = new \ReflectionClass(get_class($this));
     $this->controllerName = strtolower($reflection->getShortName());
 }
Example #2
0
 public function __construct()
 {
     parent::__construct();
     $this->discoverFields();
 }