Plugin manager implementation for routes
Enforces that routes retrieved are instances of RouteInterface. It overrides createFromInvokable() to call the route’s factory method in order to get an instance. The manager is marked to not share by default, in order to allow multiple route instances of the same type.
Validate the plugin
Checks that the filter loaded is either a valid callback or an instance of FilterInterface.
Parameters: | mixed – |
---|---|
Return type: | void |
Throws : | ExceptionRuntimeException if invalid |
Attempt to create an instance via an invokable class
Overrides parent implementation by invoking the route factory, passing $creationOptions as the argument.
Parameters: |
|
---|---|
Return type: | null|stdClass |
Throws : | ExceptionRuntimeException If resolved class does not exist, or does not implement RouteInterface |