Menu

## Manager
in package

Manager.php : 8

Class Manager

### Table of Contents

$CIPHER : string
$_client : RestClient
$_config : Config
$_customTrackingParams : mixed
$_entityConfiguration : mixed
$_metadataReader : MetaDataReader
__construct() : mixed
  Manager constructor.
addCustomTrackingParam() : mixed
cleanEntityDeltaQueryJsonData() : mixed
cleanQueryParams() : mixed
execute() : mixed
getDynamicAttributeDenied() : bool
getExcludedAttributes() : mixed
getPropertyType() : mixed
processOptions() : mixed
setEntityDeltaQueryJsonData() : mixed
setEntityMetadata() : mixed
setEntityQueryJsonData() : mixed
setEntityUrl() : mixed
setQueryParams() : mixed
setRawQueryJsonData() : mixed
validateAttribute() : mixed
_arrayDiffRecursive() : mixed
_attributesToJson() : mixed
_deltaToJson() : mixed
_getEntityClassName() : string
_getEntityConfiguration() : mixed
_getIdempotencyAttributes() : string
_isValidProperty() : mixed
_setCustomHeaders() : mixed
_setDefaultHeaders() : mixed
_setIdempotencyHeader() : mixed
_updateEntityConfiguration() : mixed

### Properties

#### $CIPHER

Manager.php : 31
`public static string $CIPHER = 'sha256'`

#### $_client

Manager.php : 13
`private RestClient $_client`

#### $_config

Manager.php : 17
`private Config $_config`

#### $_customTrackingParams

Manager.php : 21
`private mixed $_customTrackingParams = array()`

#### $_entityConfiguration

Manager.php : 23
`private mixed $_entityConfiguration`

#### $_metadataReader

Manager.php : 27
`private MetaDataReader $_metadataReader`

### Methods

#### __construct()

Manager.php : 38

Manager constructor.

`public __construct(RestClient $client, Config $config) : mixed`

##### Parameters

$client : RestClient
$config : Config

##### Return values

mixed —

#### addCustomTrackingParam()

Manager.php : 60
`public addCustomTrackingParam(mixed $key, mixed $value) : mixed`

##### Parameters

$key : mixed
$value : mixed

##### Return values

mixed —

#### cleanEntityDeltaQueryJsonData()

Manager.php : 232
`public cleanEntityDeltaQueryJsonData( $entity) : mixed`

##### Parameters

$entity :

##### Return values

mixed —

#### cleanQueryParams()

Manager.php : 256
`public cleanQueryParams(mixed $entity) : mixed`

##### Parameters

$entity : mixed

##### Return values

mixed —

#### execute()

Manager.php : 72
`public execute( $entity[, string $method = 'get' ][, mixed $options = [] ]) : mixed`

##### Parameters

$entity :
$method : string = 'get'
$options : mixed = []

##### Return values

mixed —

#### getDynamicAttributeDenied()

Manager.php : 376
`public getDynamicAttributeDenied( $entity) : bool`

##### Parameters

$entity :

##### Return values

bool —

#### getExcludedAttributes()

Manager.php : 186
`public getExcludedAttributes( $entity) : mixed`

##### Parameters

$entity :

##### Return values

mixed —

#### getPropertyType()

Manager.php : 366
`public getPropertyType( $entity, $property) : mixed`

##### Parameters

$entity :
$property :

##### Return values

mixed —

#### processOptions()

Manager.php : 93
`public processOptions(mixed $options, mixed $configuration) : mixed`

##### Parameters

$options : mixed
$configuration : mixed

##### Return values

mixed —

#### setEntityDeltaQueryJsonData()

Manager.php : 241
`public setEntityDeltaQueryJsonData( $entity) : mixed`

##### Parameters

$entity :

##### Return values

mixed —

#### setEntityMetadata()

Manager.php : 165
`public setEntityMetadata( $entity) : mixed`

##### Parameters

$entity :

##### Return values

mixed —

#### setEntityQueryJsonData()

Manager.php : 214
`public setEntityQueryJsonData( $entity) : mixed`

##### Parameters

$entity :

##### Return values

mixed —

#### setEntityUrl()

Manager.php : 132
`public setEntityUrl( $entity, $ormMethod[, mixed $params = [] ]) : mixed`

##### Parameters

$entity :
$ormMethod :
$params : mixed = []

##### Tags

throws
  Exception

##### Return values

mixed —

#### setQueryParams()

Manager.php : 264
`public setQueryParams(mixed $entity[, mixed $urlParams = [] ]) : mixed`

##### Parameters

$entity : mixed
$urlParams : mixed = []

##### Return values

mixed —

#### setRawQueryJsonData()

Manager.php : 222
`public setRawQueryJsonData(mixed $entity, mixed $data) : mixed`

##### Parameters

$entity : mixed
$data : mixed

##### Return values

mixed —

#### validateAttribute()

Manager.php : 102
`public validateAttribute(mixed $entity, mixed $attribute, array<string|int, mixed> $properties[, mixed $value = null ]) : mixed`

##### Parameters

$entity : mixed
$attribute : mixed
$properties : array<string|int, mixed>
$value : mixed = null

##### Return values

mixed —

#### _arrayDiffRecursive()

Manager.php : 308
`protected _arrayDiffRecursive(mixed $firstArray, mixed $secondArray) : mixed`

##### Parameters

$firstArray : mixed
$secondArray : mixed

##### Return values

mixed —

#### _attributesToJson()

Manager.php : 287
`protected _attributesToJson( $entity, &$result) : mixed`

##### Parameters

$entity :
$result :

##### Return values

mixed —

#### _deltaToJson()

Manager.php : 336
`protected _deltaToJson( $entity, &$result) : mixed`

##### Parameters

$entity :
$result :

##### Return values

mixed —

#### _getEntityClassName()

Manager.php : 174
`protected _getEntityClassName( $entity) : string`

##### Parameters

$entity :

##### Return values

string —

#### _getEntityConfiguration()

Manager.php : 44
`protected _getEntityConfiguration(mixed $entity) : mixed`

##### Parameters

$entity : mixed

##### Return values

mixed —

#### _getIdempotencyAttributes()

Manager.php : 430
`protected _getIdempotencyAttributes( $attributes) : string`

##### Parameters

$attributes :

##### Return values

string —

#### _isValidProperty()

Manager.php : 114
`protected _isValidProperty(mixed $key, mixed $property, mixed $entity, mixed $attribute, mixed $value) : mixed`

##### Parameters

$key : mixed
$property : mixed
$entity : mixed
$attribute : mixed
$value : mixed

##### Return values

mixed —

#### _setCustomHeaders()

Manager.php : 385
`protected _setCustomHeaders(mixed &$entity, &$query) : mixed`

##### Parameters

$entity : mixed
$query :

##### Return values

mixed —

#### _setDefaultHeaders()

Manager.php : 396
`protected _setDefaultHeaders( &$query) : mixed`

##### Parameters

$query :

##### Return values

mixed —

#### _setIdempotencyHeader()

Manager.php : 412
`protected _setIdempotencyHeader( &$query, $configuration, string $method) : mixed`

##### Parameters

$query :
$configuration :
$method : string

##### Return values

mixed —

#### _updateEntityConfiguration()

Manager.php : 54
`protected _updateEntityConfiguration(mixed $entity, mixed $new_configuration) : mixed`

##### Parameters

$entity : mixed
$new_configuration : mixed

##### Return values

mixed —

## Search results