mageekguy\atoum\asserters\object::valueIsSet PHP Method

valueIsSet() protected method

protected valueIsSet ( $message = 'Object is undefined' )
    protected function valueIsSet($message = 'Object is undefined')
    {
        if ($this->analyzer->isObject(parent::valueIsSet($message)->value) === false) {
            throw new exceptions\logic($message);
        }
        return $this;
    }

Usage Example

Esempio n. 1
0
 protected function valueIsSet($message = 'Interval is undefined')
 {
     if (self::isDateInterval(parent::valueIsSet($message)->value) === false) {
         throw new exceptions\logic($message);
     }
     return $this;
 }
All Usage Examples Of mageekguy\atoum\asserters\object::valueIsSet