/**
  * Matches if value is not null.
  *
  * @factory
  */
 public static function notNullValue()
 {
     if (!self::$_NOT_INSTANCE) {
         self::$_NOT_INSTANCE = IsNot::not(self::nullValue());
     }
     return self::$_NOT_INSTANCE;
 }
예제 #2
0
 /**
  * Matches if value is null.
  *
  * @factory
  */
 public static function nullValue()
 {
     if (!self::$_INSTANCE) {
         self::$_INSTANCE = new self();
     }
     return self::$_INSTANCE;
 }