src/Mutator/Mutator.php
protected function parseArgs($callable)
    {
        $args = [];

        if (strpos($callable, ':') !== false) {
            list($callable, $argsString) = explode(':', $callable);

            $args = explode(',', $argsString);
        }

        return [$callable, $args];
    }
protected function parseArgs($callable)
    {
        $args = [];

        if (strpos($callable, ':') !== false) {
            list($callable, $argsString) = explode(':', $callable);

            $args = explode(',', $argsString);
        }

        return [$callable, $args];
    }
protected function parseArgs ( $ callable ) { $ args = [ ] ; if ( strpos ( $ callable , ':' ) !== false ) { list ( $ callable , $ argsString ) = explode ( ':' , $ callable ) ; $ args = explode ( ',' , $ argsString ) ; } return [ $ callable , $ args ] ; }
Split provided string into callable and arguments.

@param  string $callable
@return array
Split provided string into callable and arguments .