markDependencyAsUnresolved() публичный Метод

public markDependencyAsUnresolved ( string $dependency )
$dependency string
Пример #1
0
 private function addUnresolved(AbstractUnitObject $unit, $missingUnit)
 {
     $unitName = $unit->getName();
     if (isset($this->unresolved[$unitName])) {
         if (!is_array($this->unresolved[$unitName])) {
             $this->unresolved[$unitName] = array($this->unresolved[$unitName]);
         }
         $this->unresolved[$unitName][] = $missingUnit;
     } else {
         $this->unresolved[$unitName] = $missingUnit;
     }
     $unit->markDependencyAsUnresolved($missingUnit);
     $this->project->registerForSaving($unit);
 }