ServiceDescriptor.php 945 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. <?php
  2. /**
  3. * This file is part of amfPHP
  4. *
  5. * LICENSE
  6. *
  7. * This source file is subject to the license that is bundled
  8. * with this package in the file license.txt.
  9. *
  10. */
  11. /**
  12. * Contains all collected information about a service. This information will be used by the generator.
  13. *
  14. * @author Ariel Sommeria-klein
  15. * @package Amfphp_Plugins_Discovery
  16. */
  17. class AmfphpDiscovery_ServiceDescriptor {
  18. /**
  19. *name
  20. * @var string
  21. */
  22. public $name;
  23. /**
  24. * methods
  25. * @var array of MethodInfo
  26. */
  27. public $methods;
  28. /**
  29. * class level comment
  30. * @var string
  31. */
  32. public $comment;
  33. /**
  34. * constructor
  35. * @param string $name
  36. * @param array $methods
  37. * @param string $comment
  38. */
  39. public function __construct($name, array $methods, $comment) {
  40. $this->name = $name;
  41. $this->methods = $methods;
  42. $this->comment = $comment;
  43. }
  44. }
  45. ?>