public function __construct($router, $route, $path) { $this->router = $router; $this->route = $route; $this->path = $path; }