LdapTools\Utilities\TSProperty::setName PHP Method

setName() public method

Set the name for the TSProperty.
public setName ( string $name )
$name string
    public function setName($name)
    {
        $this->name = $name;
    }

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::setName