* * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Symfony\Component\Templating; /** * TemplateNameParserInterface parses template name to a template name and an array of options. * * @author Fabien Potencier */ interface TemplateNameParserInterface { /** * Parses a template to a template name and an array of options. * * @param string $name A template name * @param array $defaults An array of default options * * @return array An array composed of the template name and an array of options */ function parse($name, array $defaults = array()); }