protected function createArgumentDescriptor($functionDescriptor, $argument)
    {
        $params = $functionDescriptor->getTags()->get('param', array());

        if (!$this->argumentAssembler->getBuilder()) {
            $this->argumentAssembler->setBuilder($this->builder);
        }

        return $this->argumentAssembler->create($argument, $params);
    }
protected function createArgumentDescriptor($functionDescriptor, $argument)
    {
        $params = $functionDescriptor->getTags()->get('param', array());

        if (!$this->argumentAssembler->getBuilder()) {
            $this->argumentAssembler->setBuilder($this->builder);
        }

        return $this->argumentAssembler->create($argument, $params);
    }
protected function createArgumentDescriptor ( $ functionDescriptor , $ argument ) { $ params = $ functionDescriptor -> getTags ( ) -> get ( 'param' , array ( ) ) ; if ( ! $ this -> argumentAssembler -> getBuilder ( ) ) { $ this -> argumentAssembler -> setBuilder ( $ this -> builder ) ; } return $ this -> argumentAssembler -> create ( $ argument , $ params ) ; }
Creates a new ArgumentDescriptor from the given Reflector and Param.

@param FunctionDescriptor                  $functionDescriptor
@param FunctionReflector\ArgumentReflector $argument

@return ArgumentDescriptor
Creates a new ArgumentDescriptor from the given Reflector and Param .