Copied!
Abstract
Methods
public __construct(array $attributes)
 

Instantiate a new payload.

  • param array $attributes
public abstract toArray()
 

Convert this payload to its array representation.

  • return array
Properties
protected static $availableAttributes = []
 

Internal attribute to property map.

  • var array
Methods
protected fillProperties(array $attributes) : self
 
  • param array $attributes
  • return $this
Methods
private static getAttributeProperty(string $attribute)
 

Returns property name by given attribute name.

  • param string $attribute
  • return string|null
private static getAttributeSetter(string $attribute)
 

Returns property setter method by given attribute name.

  • param string $attribute
  • return null|string
private static propertyToSetter(string $property) : string
 

Converts property name to setter method name.

  • param string $property
  • return string
Properties
protected static $availableAttributes = []
 

Internal attribute to property map.

  • var array
Methods
private static getAttributeProperty(string $attribute)
 

Returns property name by given attribute name.

  • param string $attribute
  • return string|null
private static getAttributeSetter(string $attribute)
 

Returns property setter method by given attribute name.

  • param string $attribute
  • return null|string
private static propertyToSetter(string $property) : string
 

Converts property name to setter method name.

  • param string $property
  • return string
© 2024 Bruce Wells
Search Namespaces \ Classes
Configuration