PHP 클래스 TheSeer\phpDox\Collector\IndexCollection

파일 보기 프로젝트 열기: theseer/phpdox 1 사용 예제들

공개 메소드들

메소드 설명
__construct ( TheSeer\phpDox\FileInfo $srcDir )
addClass ( ClassObject $class )
addInterface ( InterfaceObject $interface )
addTrait ( TraitObject $trait )
export ( ) : TheSeer\fDOM\fDOMDocument This method exports all newly registered units into their respective files and updates the collection file accordingly
findUnitNodeByName ( $namespace, $name ) : TheSeer\fDOM\fDOMElement
findUnitNodesBySrcFile ( $path ) : DOMNodeList
import ( TheSeer\fDOM\fDOMDocument $dom ) : void

비공개 메소드들

메소드 설명
addUnit ( AbstractUnitObject $unit, $type )
getRootElement ( )
initDomDocument ( )

메소드 상세

__construct() 공개 메소드

public __construct ( TheSeer\phpDox\FileInfo $srcDir )
$srcDir TheSeer\phpDox\FileInfo

addClass() 공개 메소드

public addClass ( ClassObject $class )
$class ClassObject

addInterface() 공개 메소드

public addInterface ( InterfaceObject $interface )
$interface InterfaceObject

addTrait() 공개 메소드

public addTrait ( TraitObject $trait )
$trait TraitObject

export() 공개 메소드

This method exports all newly registered units into their respective files and updates the collection file accordingly
public export ( ) : TheSeer\fDOM\fDOMDocument
리턴 TheSeer\fDOM\fDOMDocument

findUnitNodeByName() 공개 메소드

public findUnitNodeByName ( $namespace, $name ) : TheSeer\fDOM\fDOMElement
$namespace
$name
리턴 TheSeer\fDOM\fDOMElement

findUnitNodesBySrcFile() 공개 메소드

public findUnitNodesBySrcFile ( $path ) : DOMNodeList
$path
리턴 DOMNodeList

import() 공개 메소드

public import ( TheSeer\fDOM\fDOMDocument $dom ) : void
$dom TheSeer\fDOM\fDOMDocument
리턴 void