Abstract decorator class for PHP