APP_ENV
Define app environment.
public
mixed
APP_ENV
= 'development'
Value can be 'production', 'development'. The config value will be auto-detect by order if the files in these environments were not found.
Define app environment.
public
mixed
APP_ENV
= 'development'
Value can be 'production', 'development'. The config value will be auto-detect by order if the files in these environments were not found.
public
mixed
APP_ENV
= 'production'
Modules path.
public
mixed
MODULE_PATH
= \ROOT_PATH . \DIRECTORY_SEPARATOR . 'Modules'
The full path to modules folder.
By default it is ROOT_PATH . '/Modules'
.
Public (root web) path.
public
mixed
PUBLIC_PATH
= __DIR__
The full path to public folder. By default it is the folder that contain this index.php file.
Framework root path.
public
mixed
ROOT_PATH
= \dirname(__DIR__)
The full path to the framework's root path where contains "config", "Modules", "storage", "System" folders.
Storage path.
public
mixed
STORAGE_PATH
= \ROOT_PATH . \DIRECTORY_SEPARATOR . 'storage'
The full path to storage folder. This folder contains logs, cache.
By default it is ROOT_PATH . '/storage'
.
Performs a case-sensitive check indicating if needle is contained in haystack.
str_contains(string $haystack, string $needle) : bool
The string to search in.
The substring to search for in the haystack.
Returns true if needle is in haystack, false otherwise.