TheSeer\phpDox\Collector\InterfaceObject::addImplementor PHP Method

addImplementor() public method

public addImplementor ( AbstractUnitObject $unit )
$unit AbstractUnitObject
    public function addImplementor(AbstractUnitObject $unit)
    {
        if ($this->getRootNode()->queryOne(sprintf('phpdox:implementor[@full = "%s"]', $unit->getName())) !== NULL) {
            return;
        }
        $implementor = $this->addToContainer('implementors', $unit->getType());
        $this->setName($unit->getName(), $implementor);
    }
InterfaceObject