Decorator extends DecoratorBase
Class Decorator
Table of Contents
Constants
- TEMPLATE_FILE_NAME = ''
Methods
- __construct() : mixed
- Constructor Base constructor.
- getProfileIdentifier() : string
- getUser() : mixed
- isAvailable() : bool
- prepareBodyContent() : string
- setUser() : mixed
Constants
TEMPLATE_FILE_NAME
public
mixed
TEMPLATE_FILE_NAME
= ''
Methods
__construct()
Constructor Base constructor.
public
__construct([array<string|int, Base> $dictionaries = [] ], string $accessToken) : mixed
Parameters
- $dictionaries : array<string|int, Base> = []
-
Collection of dictionaries to be rendered.
- $accessToken : string
-
Access token for request payload.
getProfileIdentifier()
public
getProfileIdentifier() : string
Return values
stringgetUser()
public
getUser() : mixed
isAvailable()
public
isAvailable() : bool
Return values
boolprepareBodyContent()
public
prepareBodyContent() : string
Return values
stringsetUser()
public
setUser(array<string|int, mixed> $user) : mixed
Parameters
- $user : array<string|int, mixed>
-
User array.