Abstract
Methods |
public __construct(array $attributes) Instantiate a new payload.
|
public abstract toArray() Convert this payload to its array representation.
|
Properties |
protected static $availableAttributes = [] Internal attribute to property map.
|
Methods |
protected fillProperties(array $attributes) : self
|
Methods |
private static getAttributeProperty(string $attribute) Returns property name by given attribute name.
|
private static getAttributeSetter(string $attribute) Returns property setter method by given attribute name.
|
private static propertyToSetter(string $property) : string Converts property name to setter method name.
|
Properties |
protected static $availableAttributes = [] Internal attribute to property map.
|
Methods |
private static getAttributeProperty(string $attribute) Returns property name by given attribute name.
|
private static getAttributeSetter(string $attribute) Returns property setter method by given attribute name.
|
private static propertyToSetter(string $property) : string Converts property name to setter method name.
|