1: <?php
2: namespace Worldline\Acquiring\Sdk\Communication;
3:
4: use Exception;
5:
6: /**
7: * Class RequestObject
8: *
9: * @package Worldline\Acquiring\Sdk\Communication
10: */
11: abstract class RequestObject
12: {
13: public function __set($name, $value)
14: {
15: throw new Exception('Cannot add new property ' . $name . ' to instances of class ' . get_class($this));
16: }
17: }
18: