STDIN
public
mixed
STDIN
= \fopen('php://stdin', 'r')
public
mixed
STDIN
= \fopen('php://stdin', 'r')
set_installation_lock(mixed $name, mixed $value) : mixed
get_installation_lock(mixed $name[, mixed $default = null ]) : mixed
export_to_file(string $filename, mixed $data[, bool $lock = false ]) : void
export_to_json_file(string $filename, mixed $data[, bool $lock = false ]) : void
export_to_csv(string $filename, array<string|int, mixed> $data, array<string|int, mixed> $fields) : void
Get api url return to client.
apiUrl(string $name[, array<string|int, mixed> $params = [] ][, bool $absolute = false ]) : string
Get api url return to client.
downloadUrl(string $name[, array<string|int, mixed> $params = [] ]) : string
Transform flat array to tree.
arrayToTree(array<string, mixed> $array[, string $keyName = 'name' ][, string $parentName = 'parent_name' ][, string $childrenName = 'items' ]) : array<string, mixed>
In order to categorize cache high load data to local do not push all cache to network base cache system because it's phrase issue of 1Gb/s network traffic.
localCacheStore() : Repository
keep in internal
by default using apcu
via apc wrapper as local cache data.
user() : User
UploadFile helper.
upload() : UploadFile
convertImagePath(string $imagePath) : string
getFilePath(string $path, string $serverId) : string
isImageUrl(string $url) : bool
app_active(string $appName) : bool
url_utility() : UrlUtilityInterface
faker_image_path(string $resourceName) : string
getDayOfLeapYearNumber(Carbon $date) : int
Check is in CI or unitest mode.
is_running_unit_test() : bool
mf_get_contents(string $path) : string|false
database_driver() : string
policy_authorize(string $policyClass, string $policyMethod, mixed ...$params) : void
gate_authorize(User $context, string $policyMethod, mixed $model, mixed ...$params) : void
policy_check(string $policyClass, string $policyMethod, mixed ...$params) : bool
calculatorExpiredDay(string $date) : int
file_type() : MetaFoxFileTypeInterface
getFrontendAliasByEntityType(string $entityType) : string|null
getMobileAliasByEntityType(string $entityType) : string|null
getAliasByEntityType(string $entityType) : string|null
array_trim_null(array<string|int, mixed> $array[, array<string|int, mixed> $strips = [] ]) : array<string|int, mixed>
strip_tag_content(string $content) : string