instance() публичный статический Метод

Get the static instance of this clock.
public static instance ( ) : Eloquent\Phony\Clock\Clock
Результат Eloquent\Phony\Clock\Clock The static clock.
Пример #1
0
 /**
  * Get the static instance of this factory.
  *
  * @return CallEventFactory The static factory.
  */
 public static function instance()
 {
     if (!self::$instance) {
         self::$instance = new self(Sequencer::sequence('event-sequence-number'), SystemClock::instance());
     }
     return self::$instance;
 }