public function setControllerActionArgument($name, $value)
    {
        // Validate the argument name
        $name = trim($name);
        if (empty($name)) {
            throw new \RuntimeException('Invalid extbase controller argument name', 1481708515);
        }

        $this->request->setArgument($name, $value);
    }
public function setControllerActionArgument($name, $value)
    {
        // Validate the argument name
        $name = trim($name);
        if (empty($name)) {
            throw new \RuntimeException('Invalid extbase controller argument name', 1481708515);
        }

        $this->request->setArgument($name, $value);
    }
public function setControllerActionArgument ( $ name , $ value ) { // Validate the argument name $ name = trim ( $ name ) ; if ( empty ( $ name ) ) { throw new \ RuntimeException ( 'Invalid extbase controller argument name' , 1481708515 ) ; } $ this -> request -> setArgument ( $ name , $ value ) ; }
Set a controller action argument

@param string $name Argument name
@param mixed $value Argument value
Set a controller action argument