ClassFindInfo.php 926 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  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. * The information necessary for a service router to be able to load a class' file and instanciate it
  12. *
  13. * @package Amfphp_Core_Common
  14. * @author Ariel Sommeria-klein
  15. */
  16. class Amfphp_Core_Common_ClassFindInfo {
  17. /**
  18. * the absolute path to the file containing the class definition
  19. * @var String
  20. */
  21. public $absolutePath;
  22. /**
  23. * the name of the class.can include a namespace, for example : \namespace\class
  24. * @var String
  25. */
  26. public $className;
  27. /**
  28. * constructor
  29. * @param String $absolutePath
  30. * @param String $className
  31. */
  32. public function __construct($absolutePath, $className) {
  33. $this->absolutePath = $absolutePath;
  34. $this->className = $className;
  35. }
  36. }
  37. ?>