public function setArgument($name, $value)
    {
        if (!$value instanceof \Closure) {
            $value = function () use ($value) {
                return $value;
            };
        }

        $this->arguments[$name] = $value;
        unset($this->caches[$name]);

        return $this;
    }
public function setArgument($name, $value)
    {
        if (!$value instanceof \Closure) {
            $value = function () use ($value) {
                return $value;
            };
        }

        $this->arguments[$name] = $value;
        unset($this->caches[$name]);

        return $this;
    }
public function setArgument ( $ name , $ value ) { if ( ! $ value instanceof \ Closure ) { $ value = function ( ) use ( $ value ) { return $ value ; } ; } $ this -> arguments [ $ name ] = $ value ; unset ( $ this -> caches [ $ name ] ) ; return $ this ; }
Method to set property argument

@param   string $name
@param   mixed  $value

@return  static Return self to support chaining.
Method to set property argument