public function getDefaultValue()
    {
        if (!$this->hasDefaultValue) {
            throw new \LogicException(sprintf('Argument $%s does not have a default value. Use %s::hasDefaultValue() to avoid this exception.', $this->name, __CLASS__));
        }

        return $this->defaultValue;
    }
public function getDefaultValue()
    {
        if (!$this->hasDefaultValue) {
            throw new \LogicException(sprintf('Argument $%s does not have a default value. Use %s::hasDefaultValue() to avoid this exception.', $this->name, __CLASS__));
        }

        return $this->defaultValue;
    }
public function getDefaultValue ( ) { if ( ! $ this -> hasDefaultValue ) { throw new \ LogicException ( sprintf ( 'Argument $%s does not have a default value. Use %s::hasDefaultValue() to avoid this exception.' , $ this -> name , __CLASS__ ) ) ; } return $ this -> defaultValue ; }
Returns the default value of the argument.

@throws \LogicException if no default value is present; {@see self::hasDefaultValue()}

@return mixed
Returns the default value of the argument .