EndpointAdapter
in package
implements
AdapterInterface
Read onlyYes
FinalYes
Endpoint Adapter
リソースURIを Resource\Endpoint 名前空間にマッピングするアダプター
デフォルトの Resource\Page や Resource\App の代わりに、
Resource\Endpoint 名前空間を使用します。
Tags
Table of Contents
Interfaces
- AdapterInterface
Properties
- $injector : InjectorInterface
- $namespace : string
Methods
- __construct() : mixed
- get() : ResourceObject
- URIからResourceObjectを取得
Properties
$injector
private
InjectorInterface
$injector
$namespace
private
string
$namespace
Methods
__construct()
public
__construct(InjectorInterface $injector, string $namespace) : mixed
Parameters
- $injector : InjectorInterface
- $namespace : string
get()
URIからResourceObjectを取得
public
get(AbstractUri $uri) : ResourceObject
Parameters
- $uri : AbstractUri