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