ReflectionProviderInterface.php 648 B

12345678910111213141516171819202122232425262728293031
  1. <?php
  2. namespace Doctrine\Common\Reflection;
  3. interface ReflectionProviderInterface
  4. {
  5. /**
  6. * Gets the ReflectionClass equivalent for this class.
  7. *
  8. * @return \ReflectionClass
  9. */
  10. public function getReflectionClass();
  11. /**
  12. * Gets the ReflectionMethod equivalent for this class.
  13. *
  14. * @param string $name
  15. *
  16. * @return \ReflectionMethod
  17. */
  18. public function getReflectionMethod($name);
  19. /**
  20. * Gets the ReflectionProperty equivalent for this class.
  21. *
  22. * @param string $name
  23. *
  24. * @return \ReflectionProperty
  25. */
  26. public function getReflectionProperty($name);
  27. }