Method |
Description |
|
__construct ( string $name, string $version, mixed $resource ) |
Constructor for StackItem |
|
__get ( $name ) |
|
|
__toString ( ) : string |
Define behavior for when this StackItem is cast to a string |
|
add_dependency ( string | StackItem $itemname, null | string $version = null ) : StackItem |
Add a dependency to this StackItem |
|
get ( string $name, string $version = null ) |
Get the named stack item |
|
get_dependencies ( ) : array |
Get the dependencies for this item |
|
in_stack_index ( Array $stack ) : boolean |
Determine if this item is in the specified stack array |
|
register ( string $name, string $resource = '', string $version ) : StackItem |
|
|