public function getParameters()
    {
        $this->parameters = array();
        $ar = parent::getParameters();
        foreach ((array) $ar as $i => $parameter) {
            $parameter->type = '';
            try {
                $ref = $parameter->getClass();
                if ($ref) {
                    $parameter->type = $ref->getName();
                }
            } catch (Exception $e) {
            }
            if ($parameter->type == '') {
                if ($parameter->isArray()) {
                    $parameter->type = 'array';
                } elseif ($parameter->isCallable()) {
                    $parameter->type = 'function';
                } elseif (isset($this->params) && isset($this->params[$i])) {
                    $parameter->type = $this->params[$i]->type;
                } else {
                    $parameter->type = 'mixed';
                }
            }
            $this->parameters[$parameter->name] = $parameter;
        }
        if (isset($this->externalParams)) {
            foreach ($this->externalParams as $param) {
                $this->parameters[$param->name] = $param;
            }
        }

        return $this->parameters;
    }
public function getParameters()
    {
        $this->parameters = array();
        $ar = parent::getParameters();
        foreach ((array) $ar as $i => $parameter) {
            $parameter->type = '';
            try {
                $ref = $parameter->getClass();
                if ($ref) {
                    $parameter->type = $ref->getName();
                }
            } catch (Exception $e) {
            }
            if ($parameter->type == '') {
                if ($parameter->isArray()) {
                    $parameter->type = 'array';
                } elseif ($parameter->isCallable()) {
                    $parameter->type = 'function';
                } elseif (isset($this->params) && isset($this->params[$i])) {
                    $parameter->type = $this->params[$i]->type;
                } else {
                    $parameter->type = 'mixed';
                }
            }
            $this->parameters[$parameter->name] = $parameter;
        }
        if (isset($this->externalParams)) {
            foreach ($this->externalParams as $param) {
                $this->parameters[$param->name] = $param;
            }
        }

        return $this->parameters;
    }
public function getParameters ( ) { $ this -> parameters = array ( ) ; $ ar = parent :: getParameters ( ) ; foreach ( ( array ) $ ar as $ i => $ parameter ) { $ parameter -> type = '' ; try { $ ref = $ parameter -> getClass ( ) ; if ( $ ref ) { $ parameter -> type = $ ref -> getName ( ) ; } } catch ( Exception $ e ) { } if ( $ parameter -> type == '' ) { if ( $ parameter -> isArray ( ) ) { $ parameter -> type = 'array' ; } elseif ( $ parameter -> isCallable ( ) ) { $ parameter -> type = 'function' ; } elseif ( isset ( $ this -> params ) && isset ( $ this -> params [ $ i ] ) ) { $ parameter -> type = $ this -> params [ $ i ] -> type ; } else { $ parameter -> type = 'mixed' ; } } $ this -> parameters [ $ parameter -> name ] = $ parameter ; } if ( isset ( $ this -> externalParams ) ) { foreach ( $ this -> externalParams as $ param ) { $ this -> parameters [ $ param -> name ] = $ param ; } } return $ this -> parameters ; }
Returns an array with parameter objects, containing type info etc.

@return ReflectionParameter[] Associative array with parameter objects
Returns an array with parameter objects containing type info etc .