summaryrefslogtreecommitdiff
path: root/core/classes/Registry.php
diff options
context:
space:
mode:
Diffstat (limited to 'core/classes/Registry.php')
-rw-r--r--core/classes/Registry.php17
1 files changed, 10 insertions, 7 deletions
diff --git a/core/classes/Registry.php b/core/classes/Registry.php
index 119e2b9..02a1ec5 100644
--- a/core/classes/Registry.php
+++ b/core/classes/Registry.php
@@ -24,7 +24,7 @@ class Registry
* -------------------------------------------------------------------------
*/
- /** @var $records (array)
+ /** @var array $records
* keeps all ready-to-use records
* --- --- -- - - -
*
@@ -37,7 +37,7 @@ class Registry
*/
private static $records = Array();
- /** @var $wish (array)
+ /** @var array $wish
* keeps all records that will be carried-out later (if ever)
* --- -- -- - - -
*
@@ -54,8 +54,8 @@ class Registry
* --- -- -- - - -
* store $data to the registry undel the label $key
*
- * @param $key (string)
- * @param $data *
+ * @param string $key
+ * @param mixed $data
*/
static function set($key, $data)
{
@@ -80,8 +80,8 @@ class Registry
* get data from registry,
* stored under the label $key
*
- * @param $key (string): the label
- * @return data (mixed)
+ * @param string $key : the label
+ * @return mixed data
*/
static function get($key)
{
@@ -107,7 +107,7 @@ class Registry
* that a 'vow' will not use system resources to prepare
* the data/object/handler/etc until/if-ever is called.
*
- * @param $label (string): label / refference key
+ * @param string $label : label / refference key
* @param function :
*/
static function vow($label, $function)
@@ -120,6 +120,9 @@ class Registry
* ---
* this is the method that carries out
* the promissed function (with arguments)
+ *
+ * @param string $label
+ * @param array $args
*/
static function use($label, $args=[])
{