Adds a resource to $this->resources
public addResource ( string $resource ) : integer | ||
$resource | string | Resource to add to the stack |
return | integer | The position of the added resource |
public addResource ( string $resource ) : integer | ||
$resource | string | Resource to add to the stack |
return | integer | The position of the added resource |