1 | <?php |
||
31 | class ResourceIdentifier extends StandardObject implements IResourceIdentifier |
||
32 | { |
||
33 | use TIdentifiable; |
||
34 | use TMetaMember; |
||
35 | |||
36 | /** |
||
37 | * @param string $type |
||
38 | * @param string $id |
||
39 | * |
||
40 | * @return ResourceIdentifier |
||
41 | */ |
||
42 | public static function create(string $type, string $id) : IResourceIdentifier |
||
51 | |||
52 | /** |
||
53 | * {@inheritdoc} |
||
54 | */ |
||
55 | public function isType($typeOrTypes) : bool |
||
59 | |||
60 | /** |
||
61 | * {@inheritdoc} |
||
62 | */ |
||
63 | public function mapType(array $map) |
||
73 | |||
74 | /** |
||
75 | * {@inheritdoc} |
||
76 | */ |
||
77 | public function isComplete() : bool |
||
81 | |||
82 | /** |
||
83 | * {@inheritdoc} |
||
84 | */ |
||
85 | public function isSame(IResourceIdentifier $identifier) : bool |
||
90 | |||
91 | /** |
||
92 | * {@inheritdoc} |
||
93 | */ |
||
94 | public function toString() : string |
||
98 | } |
||
99 |