Toggle navigation
Hot Examples
DE
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Suchen
Home
Art4
JsonApiClient
Utils
AccessTrait
PHP Trait Art4\JsonApiClient\Utils\AccessTrait
Datei anzeigen
Open project: art4/json-api-client
Public Methods
Method
Description
asArray
(
boolean
$fullArray
= false ) :
array
Convert this object in an array
getKeys
( ) :
array
Returns the keys of all setted values in this object
has
(
string
$key
) :
boolean
Check if a value exists in this object
Method Details
asArray()
public
method
Convert this object in an array
public
asArray
(
boolean
$fullArray
= false ) :
array
$fullArray
boolean
If true, objects are transformed into arrays recursively
return
array
getKeys()
public
method
Returns the keys of all setted values in this object
public
getKeys
( ) :
array
return
array
Keys of all setted values
has()
public
method
Check if a value exists in this object
public
has
(
string
$key
) :
boolean
$key
string
The key of the value
return
boolean
true if data exists, false if not