RouteNotFound class

Framework\Routing\Attributes\RouteNotFound

Class RouteNotFound.

Defined in libraries/routing/src/Attributes/RouteNotFound.php

Properties #

$origins
-

$origins

protected array $origins

Methods #

__construct()
RouteNotFound constructor.
getOrigins()
-

__construct()

public function __construct(array|string $origins = array ( ))

RouteNotFound constructor.

Parameters
  • array|string $origins - The Route Not Found origins

getOrigins()

public function getOrigins(): array
Returns array