src/Mutator/Mutator.php
protected function parse($callable)
    {
        list($callable, $args) = $this->parseArgs($callable);

        if ($this->isClassMethod($callable)) {
            $callable = $this->parseClassMethod($callable);
        } elseif ($this->isMutatorMethod($callable)) {
            $callable = [$this, $callable];
        } elseif (!function_exists($callable)) {
            throw new InvalidCallableException("Function [{$callable}] not found.");
        }

        return [$callable, $args];
    }
protected function parse($callable)
    {
        list($callable, $args) = $this->parseArgs($callable);

        if ($this->isClassMethod($callable)) {
            $callable = $this->parseClassMethod($callable);
        } elseif ($this->isMutatorMethod($callable)) {
            $callable = [$this, $callable];
        } elseif (!function_exists($callable)) {
            throw new InvalidCallableException("Function [{$callable}] not found.");
        }

        return [$callable, $args];
    }
protected function parse ( $ callable ) { list ( $ callable , $ args ) = $ this -> parseArgs ( $ callable ) ; if ( $ this -> isClassMethod ( $ callable ) ) { $ callable = $ this -> parseClassMethod ( $ callable ) ; } elseif ( $ this -> isMutatorMethod ( $ callable ) ) { $ callable = [ $ this , $ callable ] ; } elseif ( ! function_exists ( $ callable ) ) { throw new InvalidCallableException ( "Function [{$callable}] not found." ) ; } return [ $ callable , $ args ] ; }
Parse provided mutator functions.

@param  string $callable
@return array

@throws \Sofa\Eloquence\Mutator\InvalidCallableException
Parse provided mutator functions .