1234567891011121314151617181920212223242526272829303132 |
- <?php
- /*
- * This file is part of the Symfony package.
- *
- * (c) Fabien Potencier <fabien.potencier@symfony-project.com>
- *
- * For the full copyright and license information, please view the LICENSE
- * file that was distributed with this source code.
- */
- namespace Symfony\Component\Templating;
- /**
- * TemplateNameParser is the default implementation of TemplateNameParserInterface.
- *
- * @author Fabien Potencier <fabien.potencier@symfony-project.com>
- */
- class TemplateNameParser implements TemplateNameParserInterface
- {
- /**
- * Parses a template to a template name and an array of options.
- *
- * @param string $name A template name
- *
- * @return array An array composed of the template name and an array of options
- */
- public function parse($name)
- {
- return array($name, array());
- }
- }
|