4 * This file is part of Twig.
8 * For the full copyright and license information, please view the LICENSE
9 * file that was distributed with this source code.
13 * Holds information about a non-compiled Twig template.
17 * @author Fabien Potencier <fabien@symfony.com>
26 * @param string $code The template source code
27 * @param string $name The template logical name
28 * @param string $path The filesystem path of the template if any
30 public function __construct($code, $name, $path = '')
37 public function getCode()
42 public function getName()
47 public function getPath()
53 class_alias('Twig_Source', 'Twig\Source', false);