public function addPropertiesThatShouldBeAvailableClientSide(array $propertyNames) { foreach ($propertyNames as $propertyName) { $this->clientSideParameters[] = $propertyName; } }