LdapTools\Utilities\TSProperty::setValue PHP Method

setValue() public method

Set the value for the TSProperty.
public setValue ( string | integer $value )
$value string | integer
    public function setValue($value)
    {
        $this->value = $value;
    }

Usage Example

 function it_should_remove_a_specific_TSProperty()
 {
     $tsProp = new TSProperty();
     $tsProp->setName('foo');
     $tsProp->setValue('bar');
     $this->add($tsProp);
     $this->has('foo')->shouldEqual(true);
     $this->remove('foo');
     $this->has('foo')->shouldEqual(false);
 }
All Usage Examples Of LdapTools\Utilities\TSProperty::setValue