valueIsSet() 보호된 메소드

protected valueIsSet ( $message = 'Object is undefined' )
예제 #1
0
 protected function valueIsSet($message = 'Interval is undefined')
 {
     if (self::isDateInterval(parent::valueIsSet($message)->value) === false) {
         throw new exceptions\logic($message);
     }
     return $this;
 }
예제 #2
0
 /**
  * {@inheritdoc}
  */
 protected function valueIsSet($message = 'DataSource is undefined')
 {
     return parent::valueIsSet($message);
 }
예제 #3
0
 protected function valueIsSet($message = 'Exception is undefined')
 {
     return parent::valueIsSet($message);
 }
예제 #4
0
파일: dateTime.php 프로젝트: xihewang/atoum
 protected function valueIsSet($message = 'Instance of \\dateTime is undefined')
 {
     if (parent::valueIsSet($message)->value instanceof \dateTime === false) {
         throw new exceptions\logic($message);
     }
     return $this;
 }
예제 #5
0
 /**
  * {@inheritdoc}
  */
 protected function valueIsSet($message = 'Enumerable is undefined')
 {
     return parent::valueIsSet($message);
 }
예제 #6
0
파일: dateTime.php 프로젝트: atoum/atoum
 protected function valueIsSet($message = null)
 {
     $message = $message ?: 'Value is not an instance of \\dateTime or \\dateTimeInterface';
     if (self::isDateTime(parent::valueIsSet($message)->value) === false) {
         throw new exceptions\logic($message);
     }
     return $this;
 }