src/Everest/Http/RoutingContext.php
public function getPrefixedPath(string $path = '') : string
  {
    return trim($this->parent ? 
      ($this->parent->getPrefixedPath($this->prefix ? $this->prefix . '/' . $path : $path)) :
      ($this->prefix ? $this->prefix . '/' . $path : $path), '/');
  }
public function getPrefixedPath(string $path = '') : string
  {
    return trim($this->parent ? 
      ($this->parent->getPrefixedPath($this->prefix ? $this->prefix . '/' . $path : $path)) :
      ($this->prefix ? $this->prefix . '/' . $path : $path), '/');
  }
public function getPrefixedPath ( string $ path = '' ) : string { return trim ( $ this -> parent ? ( $ this -> parent -> getPrefixedPath ( $ this -> prefix ? $ this -> prefix . '/' . $ path : $ path ) ) : ( $ this -> prefix ? $ this -> prefix . '/' . $ path : $ path ) , '/' ) ; }
Gets path prefix of this context and all its parents

@param  string $path (optional)
The parents prefix

@return string
The prefixed path
Gets path prefix of this context and all its parents