Liip\RMT\Information\InformationRequest::hasValue PHP Метод

hasValue() публичный Метод

public hasValue ( )
    public function hasValue()
    {
        return $this->hasValue;
    }

Usage Example

 public function testSetAndGetValue()
 {
     $ir = new InformationRequest('foo', array('type' => 'text'));
     $this->assertFalse($ir->hasValue());
     $ir->setValue('bar');
     $this->assertTrue($ir->hasValue());
     $this->assertEquals('bar', $ir->getValue());
 }