示例#1
0
 /**
  * Get a path relative to this extension's directory.
  * @param App $app Application.
  * @param string $path A relative path.
  * @return string An absolute path.
  */
 public function p(App $app, $path)
 {
     list($key, $path) = $this->getKeyPath($path);
     return $app->p($key, $path);
 }