src/Event/EventManager.php
protected function reflect($reflect, array $arguments) {
        $pass = [];
        foreach ($reflect->getParameters() as $param) {
            if (isset($arguments[$param->getName()])) {
                $pass[] = $arguments[$param->getName()];
            } else {
                $pass[] = $param->getDefaultValue();
            }
        }
        return $pass;
    }
protected function reflect($reflect, array $arguments) {
        $pass = [];
        foreach ($reflect->getParameters() as $param) {
            if (isset($arguments[$param->getName()])) {
                $pass[] = $arguments[$param->getName()];
            } else {
                $pass[] = $param->getDefaultValue();
            }
        }
        return $pass;
    }
protected function reflect ( $ reflect , array $ arguments ) { $ pass = [ ] ; foreach ( $ reflect -> getParameters ( ) as $ param ) { if ( isset ( $ arguments [ $ param -> getName ( ) ] ) ) { $ pass [ ] = $ arguments [ $ param -> getName ( ) ] ; } else { $ pass [ ] = $ param -> getDefaultValue ( ) ; } } return $ pass ; }
Reflect on the object or function and format an ordered arguement list

@param Reflector $reflect
@param array $arguments
Reflect on the object or function and format an ordered arguement list