Method |
Description |
|
__construct ( string $shortName = null, string $description = null, string $iri = null, array $itemOperations = null, array $collectionOperations = null, array $attributes = null ) |
|
|
getAttribute ( string $key, mixed $defaultValue = null ) : mixed |
Gets an attribute. |
|
getAttributes ( ) : array | null |
Gets attributes. |
|
getCollectionOperationAttribute ( string $operationName, string $key, mixed $defaultValue = null, boolean $resourceFallback = false ) : mixed |
Gets a collection operation attribute, optionally fallback to a resource attribute. |
|
getCollectionOperations ( ) : array | null |
Gets collection operations. |
|
getDescription ( ) : string | null |
Gets the description. |
|
getIri ( ) : string | null |
Gets the associated IRI. |
|
getItemOperationAttribute ( string $operationName, string $key, mixed $defaultValue = null, boolean $resourceFallback = false ) : mixed |
Gets an item operation attribute, optionally fallback to a resource attribute. |
|
getItemOperations ( ) : array | null |
Gets item operations. |
|
getShortName ( ) : string | null |
Gets the short name. |
|
withAttributes ( array $attributes ) : self |
Returns a new instance with the given attribute. |
|
withCollectionOperations ( array $collectionOperations ) : self |
Returns a new instance with the given collection operations. |
|
withDescription ( string $description ) : self |
Returns a new instance with the given description. |
|
withIri ( string $iri ) : self |
Returns a new instance with the given IRI. |
|
withItemOperations ( array $itemOperations ) : self |
Returns a new instance with the given item operations. |
|
withShortName ( string $shortName ) : self |
Returns a new instance with the given short name. |
|