LdapTools\Utilities\TSPropertyArray::set PHP Метод

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

Set the value for a specific TSProperty by its name.
public set ( string $propName, mixed $propValue )
$propName string
$propValue mixed
    public function set($propName, $propValue)
    {
        $this->validateProp($propName);
        $this->getTsPropObj($propName)->setValue($propValue);
        return $this;
    }

Usage Example

Пример #1
0
 function it_should_support_being_constructed_with_a_binary_value()
 {
     $tsPropArray = new TSPropertyArray();
     $tsPropArray->set('CtxWFProfilePath', 'foo');
     $bin = $tsPropArray->toBinary();
     $this->beConstructedWith($bin);
     $this->get('CtxWFProfilePath')->shouldEqual('foo');
 }
All Usage Examples Of LdapTools\Utilities\TSPropertyArray::set