getCurrentPath() public method

public getCurrentPath ( )
Example #1
0
 public function canonical()
 {
     $path = $this->router->getCurrentPath();
     return $this->getUrlToPath($path);
 }