lib/Context.php
public function determineParamValues(callable $callable)
    {
        $reflectionParams = $this->getReflectionParameters($callable);

        $paramList = [];

        foreach ($reflectionParams as $reflectionParam) {
            $paramList[] = $this->determineParamValue($reflectionParam);
        }

        return $paramList;
    }
public function determineParamValues(callable $callable)
    {
        $reflectionParams = $this->getReflectionParameters($callable);

        $paramList = [];

        foreach ($reflectionParams as $reflectionParam) {
            $paramList[] = $this->determineParamValue($reflectionParam);
        }

        return $paramList;
    }
public function determineParamValues ( callable $ callable ) { $ reflectionParams = $ this -> getReflectionParameters ( $ callable ) ; $ paramList = [ ] ; foreach ( $ reflectionParams as $ reflectionParam ) { $ paramList [ ] = $ this -> determineParamValue ( $ reflectionParam ) ; } return $ paramList ; }
Given a callable function and the current context, attempt to determine the appropriate list of parameters to
pass to the function when it is called.

@param callable $callable
@return array A list of parameter values to be passed to the function, in the appropriate order.
Given a callable function and the current context attempt to determine the appropriate list of parameters to pass to the function when it is called .