public function getPathInfo()
    {
        $route = $this->languageInPath ? Str::sub(parent::getPathInfo(), Str::length($this->language) + 1) : parent::getPathInfo();
        if (!Str::startsWith('/', $route)) {
            $route = '/' . $route;
        }
        return $route;
    }
public function getPathInfo()
    {
        $route = $this->languageInPath ? Str::sub(parent::getPathInfo(), Str::length($this->language) + 1) : parent::getPathInfo();
        if (!Str::startsWith('/', $route)) {
            $route = '/' . $route;
        }
        return $route;
    }
public function getPathInfo ( ) { $ route = $ this -> languageInPath ? Str :: sub ( parent :: getPathInfo ( ) , Str :: length ( $ this -> language ) + 1 ) : parent :: getPathInfo ( ) ; if ( ! Str :: startsWith ( '/' , $ route ) ) { $ route = '/' . $ route ; } return $ route ; }
Get pathway as string
@return string
Get pathway as string