public function isRequired(): bool
    {
        return (
            $this->docBlockUtility->getConstraint($this->property, NotBlank::class) ||
            $this->docBlockUtility->getConstraint($this->property, NotNull::class)
        );
    }
public function isRequired(): bool
    {
        return (
            $this->docBlockUtility->getConstraint($this->property, NotBlank::class) ||
            $this->docBlockUtility->getConstraint($this->property, NotNull::class)
        );
    }
public function isRequired ( ) : bool { return ( $ this -> docBlockUtility -> getConstraint ( $ this -> property , NotBlank :: class ) || $ this -> docBlockUtility -> getConstraint ( $ this -> property , NotNull :: class ) ) ; }
Get whether the param is required.

@return bool
Get whether the param is required .