src/phpDocumentor/Descriptor/Builder/Reflector/MethodAssembler.php
protected function addArgument($argument, $descriptor)
    {
        $params = $descriptor->getTags()->get('param', array());

        if (!$this->argumentAssembler->getBuilder()) {
            $this->argumentAssembler->setBuilder($this->builder);
        }
        $argumentDescriptor = $this->argumentAssembler->create($argument, $params);

        $descriptor->addArgument($argumentDescriptor->getName(), $argumentDescriptor);
    }
protected function addArgument($argument, $descriptor)
    {
        $params = $descriptor->getTags()->get('param', array());

        if (!$this->argumentAssembler->getBuilder()) {
            $this->argumentAssembler->setBuilder($this->builder);
        }
        $argumentDescriptor = $this->argumentAssembler->create($argument, $params);

        $descriptor->addArgument($argumentDescriptor->getName(), $argumentDescriptor);
    }
protected function addArgument ( $ argument , $ descriptor ) { $ params = $ descriptor -> getTags ( ) -> get ( 'param' , array ( ) ) ; if ( ! $ this -> argumentAssembler -> getBuilder ( ) ) { $ this -> argumentAssembler -> setBuilder ( $ this -> builder ) ; } $ argumentDescriptor = $ this -> argumentAssembler -> create ( $ argument , $ params ) ; $ descriptor -> addArgument ( $ argumentDescriptor -> getName ( ) , $ argumentDescriptor ) ; }
Adds a single reflected Argument to the Method Descriptor.

@param ArgumentReflector $argument
@param MethodDescriptor  $descriptor

@return void
Adds a single reflected Argument to the Method Descriptor .