public function __construct() { parent::__construct(__DIR__, __FILE__); method_exists($this, $this->action) ? $this->{$this->action}() : $this->index(); }