TemplatePathCandidateResolver
in package
implements
TemplatePathCandidateResolverInterface
拡張子ありはそのパスのみ、拡張子なしは .html を付与したパス。 pathinfo で filename が取れないパスは候補なし。
Table of Contents
Interfaces
Methods
- getCandidates() : array<int, string>
- findTemplate / Twig Loader 用のテンプレートパス候補(探索順)
Methods
getCandidates()
findTemplate / Twig Loader 用のテンプレートパス候補(探索順)
public
getCandidates(string $path) : array<int, string>
Parameters
- $path : string