public function __destruct() { $this->controller = NULL; $this->method = NULL; $this->params = NULL; parent::__destruct(); }
/** * Create instance with source path and "php" as fileExtension * * @param \SplFileInfo $sourcePath */ public function __construct(\SplFileInfo $sourcePath) { parent::__construct($sourcePath, 'php'); }
public function getSelf(...$args) : string { return $this->_self ? $this->to($this->_self, ...$args) : parent::getSelf(...$args); }