icingaweb2-module-director/library/Director/PropertyModifier/PropertyModifierUppercase.php

16 lines
270 B
PHP

<?php
namespace Icinga\Module\Director\PropertyModifier;
use Icinga\Module\Director\Web\Hook\PropertyModifierHook;
class PropertyModifierUppercase extends PropertyModifierHook
{
public function transform($value)
{
return strtoupper($value);
}
}