ResourceRegistrar
        
        extends ResourceRegistrar
    
    
            
            in package
            
        
    
    
    
Table of Contents
Properties
- $allResources : array<string|int, mixed>
 - $resourceDefaults : mixed
 
Methods
- addResourceBatchActive() : Route
 - Add the list method for a resourceful route.
 - addResourceDelete() : Route
 - Add the list method for a resourceful route.
 - addResourceDeleteAll() : Route
 - Add the list method for a resourceful route.
 - addResourceFormStore() : Route|null
 - Add the list method for a resourceful route.
 - addResourceFormUpdate() : Route
 - Add the list method for a resourceful route.
 - addResourceOrder() : Route
 - Add the list method for a resourceful route.
 - addResourceToggleActive() : Route
 - Add the list method for a resourceful route.
 - addResourceToggleDefault() : Route
 - Add the list method for a resourceful route.
 - register() : mixed
 - reflectControllerClass() : array<string|int, mixed>|null
 
Properties
$allResources
    protected
        array<string|int, mixed>
    $allResources
     = ['index', 'create', 'edit', 'delete', 'order', 'toggleActive', 'toggleDefault', 'batchActive', 'deleteAll', 'store', 'show', 'update', 'destroy']
    
    
    
$resourceDefaults
    protected
        mixed
    $resourceDefaults
     = ['index', 'create', 'store', 'show', 'edit', 'update', 'destroy']
    
    
    
Methods
addResourceBatchActive()
Add the list method for a resourceful route.
    public
                    addResourceBatchActive(string $name, string $base, string $controller, array<string|int, mixed> $options) : Route
    Parameters
- $name : string
 - $base : string
 - $controller : string
 - $options : array<string|int, mixed>
 
Return values
RouteaddResourceDelete()
Add the list method for a resourceful route.
    public
                    addResourceDelete(string $name, string $base, string $controller, array<string|int, mixed> $options) : Route
    Parameters
- $name : string
 - $base : string
 - $controller : string
 - $options : array<string|int, mixed>
 
Return values
RouteaddResourceDeleteAll()
Add the list method for a resourceful route.
    public
                    addResourceDeleteAll(string $name, string $base, string $controller, array<string|int, mixed> $options) : Route
    Parameters
- $name : string
 - $base : string
 - $controller : string
 - $options : array<string|int, mixed>
 
Return values
RouteaddResourceFormStore()
Add the list method for a resourceful route.
    public
                    addResourceFormStore(string $name, string $base, string $controller, array<string|int, mixed> $options) : Route|null
    Parameters
- $name : string
 - $base : string
 - $controller : string
 - $options : array<string|int, mixed>
 
Return values
Route|nulladdResourceFormUpdate()
Add the list method for a resourceful route.
    public
                    addResourceFormUpdate(string $name, string $base, string $controller, array<string|int, mixed> $options) : Route
    Parameters
- $name : string
 - $base : string
 - $controller : string
 - $options : array<string|int, mixed>
 
Return values
RouteaddResourceOrder()
Add the list method for a resourceful route.
    public
                    addResourceOrder(string $name, string $base, string $controller, array<string|int, mixed> $options) : Route
    Parameters
- $name : string
 - $base : string
 - $controller : string
 - $options : array<string|int, mixed>
 
Return values
RouteaddResourceToggleActive()
Add the list method for a resourceful route.
    public
                    addResourceToggleActive(string $name, string $base, string $controller, array<string|int, mixed> $options) : Route
    Parameters
- $name : string
 - $base : string
 - $controller : string
 - $options : array<string|int, mixed>
 
Return values
RouteaddResourceToggleDefault()
Add the list method for a resourceful route.
    public
                    addResourceToggleDefault(string $name, string $base, string $controller, array<string|int, mixed> $options) : Route
    Parameters
- $name : string
 - $base : string
 - $controller : string
 - $options : array<string|int, mixed>
 
Return values
Routeregister()
    public
                    register(mixed $name, mixed $controller[, array<string|int, mixed> $options = [] ]) : mixed
    Parameters
- $name : mixed
 - $controller : mixed
 - $options : array<string|int, mixed> = []
 
Tags
reflectControllerClass()
    private
                    reflectControllerClass(string $controller, array<string|int, mixed> $bounds) : array<string|int, mixed>|null
    Parameters
- $controller : string
 - $bounds : array<string|int, mixed>