src/Mutable.php
protected function mutableMutate($key, $value, $dir)
    {
        $mutators = $this->getMutatorsForAttribute($key, $dir);

        return static::$attributeMutator->mutate($value, $mutators);
    }
protected function mutableMutate($key, $value, $dir)
    {
        $mutators = $this->getMutatorsForAttribute($key, $dir);

        return static::$attributeMutator->mutate($value, $mutators);
    }
protected function mutableMutate ( $ key , $ value , $ dir ) { $ mutators = $ this -> getMutatorsForAttribute ( $ key , $ dir ) ; return static :: $ attributeMutator -> mutate ( $ value , $ mutators ) ; }
Mutate the attribute.

@param  string $key
@param  string $value
@param  string $dir
@return mixed
Mutate the attribute .