ImportConfigurator
class ImportConfigurator
Traits
Methods
$this
schemes(array $schemes)
Sets the schemes (e.g. 'https') this route is restricted to.
from RouteTrait
$this
methods(array $methods)
Sets the HTTP methods (e.g. 'POST') this route is restricted to.
from RouteTrait
$this
controller(callable|string $controller)
Adds the "_controller" entry to defaults.
from RouteTrait
__destruct()
No description
$this
prefix($prefix, bool $trailingSlashOnRoot = true)
Sets the prefix to add to the path of all child routes.
$this
namePrefix(string $namePrefix)
Sets the prefix to add to the name of all child routes.
Details
final $this
schemes(array $schemes)
Sets the schemes (e.g. 'https') this route is restricted to.
So an empty array means that any scheme is allowed.
final $this
methods(array $methods)
Sets the HTTP methods (e.g. 'POST') this route is restricted to.
So an empty array means that any method is allowed.