/** * @param string $basePath * @param VersionStrategyInterface $versionStrategy * @param ThemeContextInterface $themeContext * @param PathResolverInterface $pathResolver * @param ContextInterface|null $context */ public function __construct($basePath, VersionStrategyInterface $versionStrategy, ThemeContextInterface $themeContext, PathResolverInterface $pathResolver, ContextInterface $context = null) { parent::__construct($basePath, $versionStrategy, $context); $this->themeContext = $themeContext; $this->pathResolver = $pathResolver; }
public function __construct($basePath, VersionStrategy $versionStrategy) { parent::__construct($basePath, $versionStrategy); }
/** * Constructor. * * @param string $prefix A prefix to remove from path (before base path is applied). * @param string $basePath The base path to be prepended to relative paths * @param VersionStrategyInterface $versionStrategy The version strategy * @param ContextInterface $context The request context */ public function __construct($prefix, $basePath, VersionStrategyInterface $versionStrategy, ContextInterface $context) { parent::__construct($basePath, $versionStrategy, $context); $this->prefix = ltrim($prefix, '/'); }