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