public getSourcerootPath ( ) : string | ||
return | string | Pathname relative to the sourceroot. |
public function getSourcerootPath()
{
return ltrim($this->_dir . '/' . $this->_name, '/');
}
/** * Return the name of this file relative to its sourceroot. * * @return string Pathname relative to the sourceroot. */ public function getSourcerootPath() { return substr(parent::getSourcerootPath(), 0, -2); }