EndpointSchemeCollectionProvider
in package
implements
ProviderInterface
Read onlyYes
FinalYes
Endpoint SchemeCollection Provider
カスタムスキームコレクションを提供します。 'api://', 'app://', 'page://' を Resource\Endpoint 名前空間にマッピングします。
Tags
Table of Contents
Interfaces
- ProviderInterface
Properties
Methods
- __construct() : mixed
- get() : SchemeCollection
- SchemeCollectionを生成
Properties
$appName
private
string
$appName
Attributes
- #[AppName]
$injector
private
InjectorInterface
$injector
Methods
__construct()
public
__construct(string $appName, InjectorInterface $injector) : mixed
Parameters
- $appName : string
- $injector : InjectorInterface
get()
SchemeCollectionを生成
public
get() : SchemeCollection
- api://self → EndpointAdapter (Resource\Endpoint*)
- app://self → EndpointAdapter (Resource\Endpoint*)
- page://self → EndpointAdapter (Resource\Endpoint*)
- http:// → HttpAdapter