예제 #1
0
 /** Get a Caller instance.
  *
  * @return	Caller	A Caller instance.
  * @static
  * @access	public
  */
 public static function getInstance()
 {
     if (!is_object(self::$instance)) {
         self::$instance = new PeclCaller();
     }
     return self::$instance;
 }
예제 #2
0
 /** Get a {@link PeclCaller} instance.
  *
  * @return	PeclCaller	A {@link PeclCaller} instance.
  * @static
  * @access	public
  */
 public static function getPeclCaller()
 {
     return PeclCaller::getInstance();
 }