* * 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 */ 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()); } }