TheSeer\phpDox\Collector\IndexCollection::addInterface PHP Method

addInterface() public method

public addInterface ( InterfaceObject $interface )
$interface InterfaceObject
    public function addInterface(InterfaceObject $interface)
    {
        $this->addUnit($interface, 'interface');
    }

Usage Example

コード例 #1
0
ファイル: Project.php プロジェクト: sakshika/ATM
 /**
  *
  */
 public function addInterface(InterfaceObject $interface)
 {
     $this->loadedUnits[$interface->getName()] = $interface;
     $this->registerForSaving($interface);
     $this->index->addInterface($interface);
 }