public function __construct(array $attributes) { $this->dictionary = json_decode(json_encode($attributes)); }