메소드 |
설명 |
|
computeDoc ( Documentation $object, array $classes ) : array |
Computes the documentation. |
|
getClass ( string $resourceClass, ResourceMetadata $resourceMetadata, string $shortName, string $prefixedShortName ) : array |
Gets a Hydra class. |
|
getClasses ( array $entrypointProperties, array $classes ) : array |
Builds the classes array. |
|
getContext ( ) : array |
Builds the JSON-LD context for the API documentation. |
|
getHydraOperation ( string $resourceClass, ResourceMetadata $resourceMetadata, string $operationName, array $operation, string $prefixedShortName, boolean $collection ) : array |
Gets and populates if applicable a Hydra operation. |
|
getHydraOperations ( string $resourceClass, ResourceMetadata $resourceMetadata, string $prefixedShortName, boolean $collection ) : array |
Gets Hydra operations. |
|
getHydraProperties ( string $resourceClass, ResourceMetadata $resourceMetadata, string $shortName, string $prefixedShortName ) : array |
Gets Hydra properties. |
|
getProperty ( PropertyMetadata $propertyMetadata, string $propertyName, string $prefixedShortName, string $shortName ) : array |
Gets a property definition. |
|
getPropertyNameCollectionFactoryContext ( ResourceMetadata $resourceMetadata ) : array |
Gets the context for the property name factory. |
|
getRange ( PropertyMetadata $propertyMetadata ) : string | null |
Gets the range of the property. |
|
populateEntrypointProperties ( string $resourceClass, ResourceMetadata $resourceMetadata, string $shortName, string $prefixedShortName, array &$entrypointProperties ) |
Populates entrypoint properties. |
|