protected function mutateExtensionAttribute($key, $type)
    {
        $value = $this->getAttributeFromArray($key);

        $mutation = $this->{'make' . studly_case($type) . 'TypeMutation'}($value);

        $this->mutations[$key] = $mutation;

        return $mutation;
    }
protected function mutateExtensionAttribute($key, $type)
    {
        $value = $this->getAttributeFromArray($key);

        $mutation = $this->{'make' . studly_case($type) . 'TypeMutation'}($value);

        $this->mutations[$key] = $mutation;

        return $mutation;
    }
protected function mutateExtensionAttribute ( $ key , $ type ) { $ value = $ this -> getAttributeFromArray ( $ key ) ; $ mutation = $ this -> { 'make' . studly_case ( $ type ) . 'TypeMutation' } ( $ value ) ; $ this -> mutations [ $ key ] = $ mutation ; return $ mutation ; }
Mutates and stores an attribute in array

@param string $key
@param string $type
@return mixed
Mutates and stores an attribute in array