instance() public static method

Get the static instance of this factory.
public static instance ( ) : CallEventFactory
return CallEventFactory The static factory.
Esempio n. 1
0
 /**
  * Get the static instance of this factory.
  *
  * @return IterableSpyFactory The static factory.
  */
 public static function instance()
 {
     if (!self::$instance) {
         self::$instance = new self(CallEventFactory::instance());
     }
     return self::$instance;
 }