: str_replace(): Passing null to parameter #2 ($replace) of type array|string is deprecated in
unset( $this->data[ $offset ] );
unset( $this->dirty_fields[ $offset ] );
* Handles magic get via offset.
* @return array|mixed|null The value in the offset.
public function __get( $key ) {
return $this->offsetGet( $key );
* Handles magic set via offset.
* @param string|int $key Key.
* @param mixed $value Value.
public function __set( $key, $value ) {
$this->offsetSet( $key, $value );
* Handles magic unset via offset.
public function __unset( $key ) {
$this->offsetUnset( $key );
* Handles magic isset via offset.
* @return bool Whether the offset has the key.
public function __isset( $key ) {
return $this->offsetExists( $key );