Struct.php 421 B

1234567891011121314151617181920212223242526
  1. <?php
  2. /*
  3. * This file is part of the Comparator package.
  4. *
  5. * (c) Sebastian Bergmann <sebastian@phpunit.de>
  6. *
  7. * For the full copyright and license information, please view the LICENSE
  8. * file that was distributed with this source code.
  9. */
  10. namespace SebastianBergmann\Comparator;
  11. /**
  12. * A struct.
  13. *
  14. */
  15. class Struct
  16. {
  17. public $var;
  18. public function __construct($var)
  19. {
  20. $this->var = $var;
  21. }
  22. }