Example #1
0
 protected function build(builder\Router $root)
 {
     if ($sPath = $this->readx('@path', false)) {
         $path = $root->getPath($sPath);
         $sResult = $path->asPath();
     } else {
         $sResult = $root->asPath();
     }
     return $sResult;
 }