Skip to content

Instantly share code, notes, and snippets.

@markrandall
Created September 27, 2021 18:55
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save markrandall/328568d97f8bdb53a6545a6c503b38c4 to your computer and use it in GitHub Desktop.
Save markrandall/328568d97f8bdb53a6545a6c503b38c4 to your computer and use it in GitHub Desktop.
class RoutedController {
public function __construct(
public string $value,
public array $requirements = [],
public array $defaults = [],
public int $priority = 0,
public array $methods = [],
public array $middleware = [],
public bool $partial = false,
public ?array $jsonSchema = null,
public ?string $jsonSchemaCall = null,
public ?string $templateName = null,
public ?string $useTemplate = null
) {
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment