/**
* Holds info whenever properties have to be casted
*/
private bool
$_cast = true;
/**
* Allows filling in Entity parameters during construction.
*/
public function __construct(?array
$data = null
) { $this->
syncOriginal();
$this->
fill($data);
} /**
* Takes an array of key/value pairs and sets them as class
* properties, using any `setCamelCasedProperty()` methods
* that may or may not exist.
*
* @param array<string, array|bool|float|int|object|string|null> $data
*
* @return $this
*/