9 * This source file is subject to the new BSD license that is bundled
10 * with this package in the file LICENSE.
11 * It is also available through the world-wide-web at this URL:
12 * http://phergie.org/license
15 * @package Phergie_Tests
16 * @author Phergie Development Team <team@phergie.org>
17 * @copyright 2008-2010 Phergie Development Team (http://phergie.org)
18 * @license http://phergie.org/license New BSD License
19 * @link http://pear.phergie.org/package/Phergie_Tests
23 * Creates a plugin on the filesystem that can be used by
24 * Phergie_Plugin_Handler::addPath() to be located and loaded.
27 * @package Phergie_Tests
28 * @author Phergie Development Team <team@phergie.org>
29 * @license http://phergie.org/license New BSD License
30 * @link http://pear.phergie.org/package/Phergie_Tests
32 class Phergie_Plugin_Mock extends Phergie_Plugin_Abstract
35 * Arguments passed to the constructor
42 * Stores all arguments for later use.
46 public function __construct()
48 $this->arguments = func_get_args();
52 * Returns all constructor arguments.
54 * @return array Enumerated array containing the arguments passed to the
55 * constructor in order
57 public function getArguments()
59 return $this->arguments;