public function resolveParams($params)
    {
        $resolved = array();

        foreach ($params as $param) {
            if ($param instanceof DescriptorInterface) {
                $resolved[] = $this->get($param->getName());

                continue;
            }

            $resolved[] = $param;
        }

        return $resolved;
    }
public function resolveParams($params)
    {
        $resolved = array();

        foreach ($params as $param) {
            if ($param instanceof DescriptorInterface) {
                $resolved[] = $this->get($param->getName());

                continue;
            }

            $resolved[] = $param;
        }

        return $resolved;
    }
public function resolveParams ( $ params ) { $ resolved = array ( ) ; foreach ( $ params as $ param ) { if ( $ param instanceof DescriptorInterface ) { $ resolved [ ] = $ this -> get ( $ param -> getName ( ) ) ; continue ; } $ resolved [ ] = $ param ; } return $ resolved ; }
Resolve an array of mixed parameters and possible Descriptors.

@param array $params

@return array
Resolve an array of mixed parameters and possible Descriptors .