diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/argument.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/include/argument.h b/include/argument.h index c75abc1..68ac7df 100644 --- a/include/argument.h +++ b/include/argument.h @@ -71,6 +71,16 @@ public: * @internal */ void fill(struct _zend_arg_info *info) const; + + /** + * Is this a required argument? + * @return bool + * @internal + */ + bool required() const + { + return _required; + } private: /** |