Esc
API Index — Namespaces, Packages, Reports, Indices
CgiMode
: string
in package
Type-safe enum for App::cgiMode(). The four strategies for
dispatching CGI requests (.php files in legacy-CGI mode, and
any registered non-.php extension).
App::cgiMode(CgiMode::Proc); // ← type-checked App::cgiMode('proc'); // ← still works (BC)
Table of Contents
Cases
Methods
- coerce() : self
Cases
Pool
Proc
Fork
Fcgi
Methods
coerce()
public
static coerce(self|string $mode) : self
Parameters
- $mode : self|string