PhpInfoController
extends BaseController
in package
Tags
Table of Contents
- DEVICE_CODE_COOKIE = 'JinyaDeviceCode'
- $body : array<string, mixed>
- entityNotFound() : ResponseInterface
- formatIteratorPlain() : array<string|int, array<string, mixed>>
- getPhpInfo() : ResponseInterface
- Gets the full data of PHP info by parsing the HTML output
- jsonIterator() : ResponseInterface
- jsonIteratorPlain() : ResponseInterface
- phpinfo2array() : array<string|int, array<string|int, mixed>>
- Converts the output of phpinfo() into an array of values This comment on the php.net website for phpinfo helped a lot, see the link below:
Constants
DEVICE_CODE_COOKIE
public
mixed
DEVICE_CODE_COOKIE
= 'JinyaDeviceCode'
Tags
Properties
$body
public
array<string, mixed>
$body
Methods
entityNotFound()
public
entityNotFound(string $message) : ResponseInterface
Parameters
- $message : string
Tags
Return values
ResponseInterface —formatIteratorPlain()
public
formatIteratorPlain(Iterator<string|int, T> $iterator) : array<string|int, array<string, mixed>>
Parameters
- $iterator : Iterator<string|int, T>
Tags
Return values
array<string|int, array<string, mixed>> —getPhpInfo()
Gets the full data of PHP info by parsing the HTML output
public
getPhpInfo() : ResponseInterface
Tags
Return values
ResponseInterface —jsonIterator()
public
jsonIterator(Iterator $iterator) : ResponseInterface
Parameters
- $iterator : Iterator
Tags
Return values
ResponseInterface —jsonIteratorPlain()
public
jsonIteratorPlain(Iterator $iterator) : ResponseInterface
Parameters
- $iterator : Iterator
Tags
Return values
ResponseInterface —phpinfo2array()
Converts the output of phpinfo() into an array of values This comment on the php.net website for phpinfo helped a lot, see the link below:
private
phpinfo2array() : array<string|int, array<string|int, mixed>>