/** * {@inheritdoc} */ public function applyPathPrefix($prefix) { return ltrim(parent::applyPathPrefix($prefix), '/'); }
/** * @inheritdoc */ public function applyPathPrefix($path) { $prefixedPath = parent::applyPathPrefix($path); return str_replace('/', DIRECTORY_SEPARATOR, $prefixedPath); }
/** * Apply the path prefix. * * @param string $path * * @return string prefixed path */ public function applyPathPrefix($path) { $prefixed = parent::applyPathPrefix($path); return '/' . ltrim($prefixed, '/'); }
/** * Apply the path prefix * * @param string $path * @return string prefixed path */ public function applyPathPrefix($path) { $path = parent::applyPathPrefix($path); return '/' . rtrim($path, '/'); }