X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=CRM%2FUtils%2FOptionBag.php;h=aa2fe8edbcffa3b402612490a0fd60b5b15477dd;hb=100fef9d739cd6f5377269d230510c328e484c8c;hp=ebcf9d597c687eafabc110a1434b822abd7771bc;hpb=a5cea5e90a3ad463c363d53c49ed0bb1b6868dbc;p=civicrm-core.git diff --git a/CRM/Utils/OptionBag.php b/CRM/Utils/OptionBag.php index ebcf9d597c..aa2fe8edbc 100644 --- a/CRM/Utils/OptionBag.php +++ b/CRM/Utils/OptionBag.php @@ -1,8 +1,14 @@ data = $data; } @@ -39,6 +45,11 @@ class CRM_Utils_OptionBag implements ArrayAccess, IteratorAggregate, Countable { } } + /** + * @param $key + * + * @return bool + */ public function has($key) { return isset($this->data[$key]); } @@ -126,4 +137,4 @@ class CRM_Utils_OptionBag implements ArrayAccess, IteratorAggregate, Countable { } -} \ No newline at end of file +}