Table
class Table extends AbstractModel implements Countable (View source)
Traits
ConfigurationTrait
LoggerTrait
Constants
ALLOWED_ROUTES |
Types of route that this table will accept |
Properties
protected array | $routes | Current repository of routes | |
protected Parser | $parser | ||
protected RouterCache | $cache |
Methods
__construct(Configuration $configuration, LoggerInterface $logger, Manager $cache)
Table constructor
add($route, $type, $class = null, array $parameters = [])
No description
int
count()
Get registered routes count
getRoutes()
No description
get($route)
No description
regex($route)
No description
remove($route)
No description
defaultRoute()
No description
load(array $routes)
No description
Details
at line 64
__construct(Configuration $configuration, LoggerInterface $logger, Manager $cache)
Table constructor
at line 79
add($route, $type, $class = null, array $parameters = [])
at line 123
int
count()
Get registered routes count