메소드 | 설명 | |
---|---|---|
__construct ( Symfony\Component\Templating\EngineInterface $engine, array $bundles ) | Constructs the template locator | |
locate ( string $templatePath ) : string | Search for the template in every specified bundle |
메소드 | 설명 | |
---|---|---|
findTemplate ( string $templatePath ) : boolean | string | Finds the template in all the bundles. |
public __construct ( Symfony\Component\Templating\EngineInterface $engine, array $bundles ) | ||
$engine | Symfony\Component\Templating\EngineInterface | Render engine |
$bundles | array | The bundles to check (sorted). |