-
-
Notifications
You must be signed in to change notification settings - Fork 19
Expand file tree
/
Copy pathTemplateNameParserInterface.php
More file actions
30 lines (26 loc) · 892 Bytes
/
TemplateNameParserInterface.php
File metadata and controls
30 lines (26 loc) · 892 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
<?php
/*
* This file is part of the Symfony package.
*
* (c) Fabien Potencier <[email protected]>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Symfony\Component\Templating;
trigger_deprecation('symfony/templating', '6.4', '"%s" is deprecated since version 6.4 and will be removed in 7.0. Use Twig instead.', TemplateNameParserInterface::class);
/**
* TemplateNameParserInterface converts template names to TemplateReferenceInterface
* instances.
*
* @author Fabien Potencier <[email protected]>
*
* @deprecated since Symfony 6.4, use Twig instead
*/
interface TemplateNameParserInterface
{
/**
* Convert a template name to a TemplateReferenceInterface instance.
*/
public function parse(string|TemplateReferenceInterface $name): TemplateReferenceInterface;
}