This repository has been archived on 2023-08-20. You can view files and clone it, but cannot push or open issues or pull requests.
symfony/src/Symfony/Component/Templating/TemplateNameParserInterface.php

35 lines
743 B
PHP
Raw Normal View History

<?php
/*
* This file is part of the Symfony package.
*
* (c) Fabien Potencier <fabien@symfony.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Symfony\Component\Templating;
/**
2011-02-10 17:20:44 +00:00
* TemplateNameParserInterface converts template names to TemplateReferenceInterface
* instances.
*
* @author Fabien Potencier <fabien@symfony.com>
2011-07-20 09:27:25 +01:00
*
* @api
*/
interface TemplateNameParserInterface
{
/**
2011-02-10 17:20:44 +00:00
* Convert a template name to a TemplateReferenceInterface instance.
*
* @param string $name A template name
*
2011-02-10 17:20:44 +00:00
* @return TemplateReferenceInterface A template
2011-07-20 09:27:25 +01:00
*
* @api
*/
2012-07-09 13:50:58 +01:00
public function parse($name);
}