Searched refs:trait (Results 26 – 39 of 39) sorted by path
12
273 foreach ($this->traits as $trait) {315 foreach ($this->traits as $trait) {346 foreach ($this->traits as $trait) {505 foreach ($this->traits as &$trait) {519 $trait['ccn'] += $method['ccn'];522 if ($trait['executableLines'] > 0) {523 $trait['coverage'] = ($trait['executedLines'] /530 $trait['coverage'] = 100;533 $trait['crap'] = $this->crap(534 $trait['ccn'],[all …]
355 $trait = false;401 $trait = $token->getName();403 $this->traits[$trait] = $tmp;421 $trait === false &&438 } elseif ($trait !== false) {439 $this->traits[$trait]['methods'][$name] = $tmp;442 $trait . '::' . $name,458 $trait = false;
5 trait BaseTrait13 trait ChildTrait
64 trait TestCaseTrait
397 * added an error message when trying to import an undefined block from a trait
217 foreach ($this->getNode('traits') as $i => $trait) {218 … $this->compileLoadTemplate($compiler, $trait->getNode('template'), sprintf('$_trait_%s', $i));221 ->addDebugInfo($trait->getNode('template'))225 ->subcompile($trait->getNode('template'))232 foreach ($trait->getNode('targets') as $key => $value) {241 ->subcompile($trait->getNode('template'))
313 public function addTrait($trait) argument315 $this->traits[] = $trait;
2 Exception for an undefined trait9 Twig\Error\RuntimeError: Block "foobar" is not defined in trait "foo" in "index.twig" at line 2.
46 * Added a PHPUnitAssertions trait. This trait makes it easy to compare two
362 The following shows the trait selection for traditional Markdown.405 In general, just adding the trait with `use` is enough, however in some cases some fine tuning is d…416 If you use any trait that uses the `$html5` property to adjust its output you also need to define t…418 If you use the link trait it may be useful to implement `prepare()` as shown above to reset referen…
3736 trait
1 …trait throw try use const while xor yield ';\n\nconst constants = '__FILE__ __LINE__ __METHOD__ __…
84 of `Sabre\DAV\IACL` with some sane defaults. We're using this trait all over
107 * Added a PHPUnitAssertions trait. This trait makes it easy to compare two