AppCollection
extends DefinedCollection
in package
The app collection is intended to provide spitfire with a good mechanism to look up applications by either class path or url.
Tags
Table of Contents
- byClassName() : App|null
- When passing a class name to this function, the system must return a class that this correlates with.
- byUrl() : App|null
- Returns the application attached to the path in question.
Methods
byClassName()
When passing a class name to this function, the system must return a class that this correlates with.
public
byClassName(string|object $name) : App|null
Parameters
- $name : string|object
Tags
Return values
App|null —byUrl()
Returns the application attached to the path in question.
public
byUrl(string $url) : App|null
Parameters
- $url : string