src/Mvc/Sections/Section.php
public function compilePath($path = false)
    {
        $currentBasePath = $this->getManager()->getCurrent()->getPath();
        $path = str_replace($currentBasePath, $this->getPath(), $path);
        return $path;
    }
public function compilePath($path = false)
    {
        $currentBasePath = $this->getManager()->getCurrent()->getPath();
        $path = str_replace($currentBasePath, $this->getPath(), $path);
        return $path;
    }
public function compilePath ( $ path = false ) { $ currentBasePath = $ this -> getManager ( ) -> getCurrent ( ) -> getPath ( ) ; $ path = str_replace ( $ currentBasePath , $ this -> getPath ( ) , $ path ) ; return $ path ; }
Compile path for this section from a given path of current section

@param bool $path
@return string
Compile path for this section from a given path of current section