Searched refs:adaptation (Results 1 – 2 of 2) sorted by relevance
46 public function with($adaptation) { argument47 $adaptation = BuilderHelpers::normalizeNode($adaptation);49 if (!$adaptation instanceof Stmt\TraitUseAdaptation) {53 $this->adaptations[] = $adaptation;
154 foreach ($node->adaptations as $adaptation) {155 if (null !== $adaptation->trait) {156 $adaptation->trait = $this->resolveClassName($adaptation->trait);159 if ($adaptation instanceof Stmt\TraitUseAdaptation\Precedence) {160 foreach ($adaptation->insteadof as &$insteadof) {
Completed in 10 milliseconds