Property | Type | Description | |
---|---|---|---|
$paths | array | The paths to look for mapping files - immutable as classNames are cached, must be passed on construct. |
Method | Description | |
---|---|---|
__construct ( $paths = [] ) | ||
checkHandleCalls ( array $routeMetaDataArray ) | Check handle calls. | |
getPaths ( ) : array | Get paths to annotation classes | |
loadMetadataForClass ( string $className ) : ClassMetadata | Load metadata for the given class name |
Method | Description | |
---|---|---|
isDrestResource ( $className ) | ||
processRoutes ( array $routes, Drest\Mapping\ClassMetaData $metadata ) | Process all routes defined |
public checkHandleCalls ( array $routeMetaDataArray ) | ||
$routeMetaDataArray | array |
abstract public loadMetadataForClass ( string $className ) : ClassMetadata | ||
$className | string | |
return | ClassMetadata |
protected processRoutes ( array $routes, Drest\Mapping\ClassMetaData $metadata ) | ||
$routes | array | |
$metadata | Drest\Mapping\ClassMetaData |
protected array $paths | ||
return | array |