src/Mutable.php
protected function mutableAttributesToArray(array $attributes)
    {
        foreach ($attributes as $key => $value) {
            if ($this->hasGetterMutator($key)) {
                $attributes[$key] = $this->mutableMutate($key, $value, 'getter');
            }
        }

        return $attributes;
    }
protected function mutableAttributesToArray(array $attributes)
    {
        foreach ($attributes as $key => $value) {
            if ($this->hasGetterMutator($key)) {
                $attributes[$key] = $this->mutableMutate($key, $value, 'getter');
            }
        }

        return $attributes;
    }
protected function mutableAttributesToArray ( array $ attributes ) { foreach ( $ attributes as $ key => $ value ) { if ( $ this -> hasGetterMutator ( $ key ) ) { $ attributes [ $ key ] = $ this -> mutableMutate ( $ key , $ value , 'getter' ) ; } } return $ attributes ; }
Mutate mutable attributes for array conversion.

@param  array $attributes
@return array
Mutate mutable attributes for array conversion .