PHP Class Opis\Closure\ReflectionClosure

Inheritance: extends ReflectionFunctio\ReflectionFunction
ファイルを表示 Open project: opis/closure Class Usage Examples

Protected Properties

Property Type Description
$classes
$code
$constants
$files
$functions
$hashedName
$isBindingRequired
$isScopeRequired
$isStaticClosure
$structures
$tokens
$useVariables

Public Methods

Method Description
__construct ( Closure $closure, string | null $code = null ) ReflectionClosure constructor.
getCode ( ) : string
getUseVariables ( ) : array
isBindingRequired ( ) return bool
isScopeRequired ( ) return bool
isStatic ( ) : boolean

Protected Methods

Method Description
fetchItems ( )
getClasses ( ) : array
getConstants ( ) : array
getFileTokens ( ) : array
getFunctions ( ) : array
getHashedFileName ( ) : string
getStructures ( ) : array
getTokens ( ) : array

Method Details

__construct() public method

ReflectionClosure constructor.
public __construct ( Closure $closure, string | null $code = null )
$closure Closure
$code string | null

fetchItems() protected method

protected fetchItems ( )

getClasses() protected method

protected getClasses ( ) : array
return array

getCode() public method

public getCode ( ) : string
return string

getConstants() protected method

protected getConstants ( ) : array
return array

getFileTokens() protected method

protected getFileTokens ( ) : array
return array

getFunctions() protected method

protected getFunctions ( ) : array
return array

getHashedFileName() protected method

protected getHashedFileName ( ) : string
return string

getStructures() protected method

protected getStructures ( ) : array
return array

getTokens() protected method

protected getTokens ( ) : array
return array

getUseVariables() public method

public getUseVariables ( ) : array
return array

isBindingRequired() public method

return bool
public isBindingRequired ( )

isScopeRequired() public method

return bool
public isScopeRequired ( )

isStatic() public method

public isStatic ( ) : boolean
return boolean

Property Details

$classes protected_oe static_oe property

protected static $classes

$code protected_oe property

protected $code

$constants protected_oe static_oe property

protected static $constants

$files protected_oe static_oe property

protected static $files

$functions protected_oe static_oe property

protected static $functions

$hashedName protected_oe property

protected $hashedName

$isBindingRequired protected_oe property

protected $isBindingRequired

$isScopeRequired protected_oe property

protected $isScopeRequired

$isStaticClosure protected_oe property

protected $isStaticClosure

$structures protected_oe static_oe property

protected static $structures

$tokens protected_oe property

protected $tokens

$useVariables protected_oe property

protected $useVariables