LdapTools\Utilities\TSPropertyArray::toArray PHP Method

toArray() public method

Get a simple associative array containing of all TSProperty names and values.
public toArray ( ) : array
return array
    public function toArray()
    {
        $userParameters = [];
        foreach ($this->tsProperty as $property => $tsPropObj) {
            $userParameters[$property] = $tsPropObj->getValue();
        }
        return $userParameters;
    }