]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - plugins/Irc/extlib/phergie/Tests/Phergie/Plugin/Mock.php
Merge branch '0.9.x' into 1.0.x
[quix0rs-gnu-social.git] / plugins / Irc / extlib / phergie / Tests / Phergie / Plugin / Mock.php
index 714e3d9a44c531af24657cc0c509c9951b5f8b5f..44a5d11c7c0597aa2dce9cbde5dbc50701fb9f5f 100755 (executable)
@@ -21,7 +21,7 @@
 
 /**
  * Creates a plugin on the filesystem that can be used by
- * Phergie_Plugin_Handler's addPath utility to be located and loaded.
+ * Phergie_Plugin_Handler::addPath() to be located and loaded.
  *
  * @category Phergie
  * @package  Phergie_Tests
 class Phergie_Plugin_Mock extends Phergie_Plugin_Abstract
 {
     /**
-     * holds the arguments that were passed in to the constructor
+     * Arguments passed to the constructor
+     *
      * @var array
      */
-    protected $args;
+    protected $arguments;
 
     /**
-     * processes a variable number of arguments into the args property
+     * Stores all arguments for later use.
      *
-     * @return null
+     * @return void
      */
     public function __construct()
     {
-        $this->args = func_get_args();
+        $this->arguments = func_get_args();
+    }
+
+    /**
+     * Returns all constructor arguments.
+     *
+     * @return array Enumerated array containing the arguments passed to the
+     *         constructor in order
+     */
+    public function getArguments()
+    {
+        return $this->arguments;
     }
 }