src/Resources/Resource.php
private function fill()
    {
        foreach ($this->attributes as $key => $value) {
            $key = $this->camelCase($key);

            $this->{$key} = $value;
        }
    }
private function fill()
    {
        foreach ($this->attributes as $key => $value) {
            $key = $this->camelCase($key);

            $this->{$key} = $value;
        }
    }
private function fill ( ) { foreach ( $ this -> attributes as $ key => $ value ) { $ key = $ this -> camelCase ( $ key ) ; $ this -> { $ key } = $ value ; } }
Fill the resource with the array of attributes.

@return void
Fill the resource with the array of attributes .