{$key} ) ) { return $this->{$key}; } return null; } /** * Setter method. * * Set property and values to class. * * @param string $key Property to set. * @param mixed $value Value to assign to the property. * * @since 2.0.0 */ public function __set( $key, $value ) { $this->{$key} = $value; } }