Свойство | Type | Description | |
---|---|---|---|
$id | string | ||
$parent | Newscoop\Service\Resource\ResourceId | ||
$type | string |
Méthode | Description | |
---|---|---|
__construct ( string $id, $type = ResourceId::TYPE_ROOT ) | Construct a resource id for the provided id. | |
getFullId ( ) : string | Provides the full id of the resource, this id will be full path of the requesting layer components separated by ':'. | |
getId ( ) : string | Provides the id of the resource, attention this is not the full id is just this resource id. | |
getProperties ( ) : array | Provides the properties for the current resource id. | |
getService ( string $serviceName ) : mixed | Provides the service for the requested service name. | |
getType ( ) : string | Provides the type of the resource, please check the contstants on this class to see what are the posible types. |
public __construct ( string $id, $type = ResourceId::TYPE_ROOT ) | ||
$id | string | The id of the theme, must not be null or empty. |
public getProperties ( ) : array | ||
Résultat | array | The array containing all the properties, not null can be empty. |
public getService ( string $serviceName ) : mixed | ||
$serviceName | string | The class name of the interface beeing requested, must not be null or empty. |
Résultat | mixed | The resource id obtained for this service request. |
protected Newscoop\Service\Resource\ResourceId $parent | ||
Résultat | Newscoop\Service\Resource\ResourceId |