commercetools-sdk-php-v2
The commercetools platform, import-api and PHP sdks generated from our api reference.
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
}
Commercetools\Base\JsonObject
Definition:
JsonObject.php:15
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\JsonObject\fromStdClass
static fromStdClass(stdClass $data=null)
Commercetools\Base
Definition:
MapperArraySequence.php:10
Generated by
1.9.1