Cleanup phpdoc comments
[civicrm-core.git] / CRM / Utils / OptionBag.php
index ebcf9d597c687eafabc110a1434b822abd7771bc..aa2fe8edbcffa3b402612490a0fd60b5b15477dd 100644 (file)
@@ -1,8 +1,14 @@
 <?php
 
+/**
+ * Class CRM_Utils_OptionBag
+ */
 class CRM_Utils_OptionBag implements ArrayAccess, IteratorAggregate, Countable {
   protected $data;
 
+  /**
+   * @param array $data
+   */
   public function __construct($data = array()) {
     $this->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
+}