PHP Class TheSeer\phpDox\Collector\Backend\ParseResult

ファイルを表示 Open project: theseer/phpdox Class Usage Examples

Public Methods

Method Description
__construct ( SplFileInfo $file )
addClass ( $name ) : ClassObject
addInterface ( $name ) : InterfaceObject
addTrait ( $name ) : TraitObject
getClasses ( ) : ClassObject[]
getFileName ( )
getInterfaces ( ) : InterfaceObject[]
getTraits ( ) : TraitObject[]
hasClasses ( ) : boolean
hasInterfaces ( ) : boolean
hasTraits ( ) : boolean

Method Details

__construct() public method

public __construct ( SplFileInfo $file )
$file SplFileInfo

addClass() public method

public addClass ( $name ) : ClassObject
$name
return TheSeer\phpDox\Collector\ClassObject

addInterface() public method

public addInterface ( $name ) : InterfaceObject
$name
return TheSeer\phpDox\Collector\InterfaceObject

addTrait() public method

public addTrait ( $name ) : TraitObject
$name
return TheSeer\phpDox\Collector\TraitObject

getClasses() public method

public getClasses ( ) : ClassObject[]
return TheSeer\phpDox\Collector\ClassObject[]

getFileName() public method

public getFileName ( )

getInterfaces() public method

public getInterfaces ( ) : InterfaceObject[]
return TheSeer\phpDox\Collector\InterfaceObject[]

getTraits() public method

public getTraits ( ) : TraitObject[]
return TheSeer\phpDox\Collector\TraitObject[]

hasClasses() public method

public hasClasses ( ) : boolean
return boolean

hasInterfaces() public method

public hasInterfaces ( ) : boolean
return boolean

hasTraits() public method

public hasTraits ( ) : boolean
return boolean