LedgerRules
in package
implements
Hydratable
Rules governing ledger behaviour.
Interfaces, Classes and Traits
- Hydratable
Table of Contents
- $account : Account
- $appAttributes : array<string|int, mixed>
- $batch : Batch
- $domain : Domain
- $entry : Entry
- $language : Language
- $openDate : string
- $pageSize : int
- $sections : array<string|int, mixed>
- __construct() : mixed
- __get() : mixed
- __set() : mixed
- hydrate() : bool
Properties
$account
public
Account
$account
Properties for ledger accounts.
$appAttributes
public
array<string|int, mixed>
$appAttributes
= []
Extension data supplied by the application
$batch
public
Batch
$batch
Batch rules.
$domain
public
Domain
$domain
Domain properties.
$entry
public
Entry
$entry
Journal entry rules.
$language
public
Language
$language
Language settings.
$openDate
public
string
$openDate
The Ledger's opening date.
$pageSize
public
int
$pageSize
= 25
Default page size for paginated requests.
$sections
public
array<string|int, mixed>
$sections
= []
Reporting section definitions.
Methods
__construct()
public
__construct() : mixed
Return values
mixed —__get()
public
__get(string $name) : mixed
Parameters
- $name : string
Return values
mixed —__set()
public
__set(mixed $name, mixed $value) : mixed
Parameters
- $name : mixed
- $value : mixed
Return values
mixed —hydrate()
public
hydrate(mixed $config[, array<string|int, mixed>|null $options = [] ]) : bool
Parameters
- $config : mixed
- $options : array<string|int, mixed>|null = []