commercetools-sdk-php-v2
The commercetools platform, import-api and PHP sdks generated from our api reference.
Toggle main menu visibility
Main Page
Related Pages
Namespaces
Namespace List
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
z
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
v
w
z
Variables
$
a
d
e
f
g
o
r
s
t
u
•
All
Classes
Namespaces
Functions
Variables
Pages
Loading...
Searching...
No Matches
lib
commercetools-base
src
Base
JsonObject.php
1
<?php
2
3
declare(strict_types=1);
10
namespace
Commercetools\Base
;
11
12
use stdClass;
13
14
interface
JsonObject
extends
\JsonSerializable
15
{
19
public
function
get
(
string
$field);
20
25
public
static
function
of
($data =
null
);
26
31
public
static
function
fromArray
(array $data = []);
32
37
public
static
function
fromStdClass
(?stdClass $data =
null
);
38
42
public
function
with
(?callable $callable =
null
);
43
}
14
interface
JsonObject
extends
\JsonSerializable {
…
};
Commercetools\Base\JsonObject
Definition
JsonObject.php:15
Commercetools\Base\JsonObject\fromStdClass
static fromStdClass(?stdClass $data=null)
Commercetools\Base\JsonObject\with
with(?callable $callable=null)
Commercetools\Base\JsonObject\of
static of($data=null)
Commercetools\Base\JsonObject\fromArray
static fromArray(array $data=[])
Commercetools\Base
Definition
MapperArraySequence.php:10
Generated by
1.9.8