protected function Fast404::isCli in Fast 404 8.2
Same name and namespace in other branches
- 8 src/Fast404.php \Drupal\fast404\Fast404::isCli()
Check the type of interface between web server and PHP is CLI.
Return value
bool Whether or not the Server API for this build of PHP is CLI.
1 call to Fast404::isCli()
- Fast404::isPathBlocked in src/
Fast404.php - Make sure cli calls are not blocked.
File
- src/
Fast404.php, line 223
Class
- Fast404
- Fast404: A value object for manager Fast 404 logic.
Namespace
Drupal\fast404Code
protected function isCli() {
return PHP_SAPI === 'cli';
}