Lines Matching refs:source
55 * @param Source|string|null $source The source context where the error occurred
58 …public function __construct(string $message, int $lineno = -1, $source = null, \Exception $previou… argument
62 if (null === $source) {
64 } elseif (!$source instanceof Source && !$source instanceof \Twig_Source) {
66 $name = $source;
68 $name = $source->getName();
69 $this->sourceCode = $source->getCode();
70 $this->sourcePath = $source->getPath();
124 public function setSourceContext(Source $source = null) argument
126 if (null === $source) {
129 $this->sourceCode = $source->getCode();
130 $this->name = $source->getName();
131 $this->sourcePath = $source->getPath();