Constructor
array $data Key-value for properties to be defined in this class:
public final function __construct(array $data) { foreach ($data as $key => $value) { $this->{$key} = $value; } }