mageekguy\atoum\asserters\variable::valueIsSet PHP 메소드

valueIsSet() 보호된 메소드

protected valueIsSet ( $message = 'Value is undefined' )
    protected function valueIsSet($message = 'Value is undefined')
    {
        if ($this->isSet === false) {
            throw new exceptions\logic($message);
        }
        return $this;
    }

Usage Example

예제 #1
0
 protected function valueIsSet($message = 'Object is undefined')
 {
     if (self::isObject(parent::valueIsSet($message)->value) === false) {
         throw new exceptions\logic($message);
     }
     return $this;
 }
All Usage Examples Of mageekguy\atoum\asserters\variable::valueIsSet