Element.php 654 B

12345678910111213141516171819202122232425262728293031
  1. <?php
  2. declare(strict_types=1);
  3. /**
  4. * phpDocumentor
  5. *
  6. * For the full copyright and license information, please view the LICENSE
  7. * file that was distributed with this source code.
  8. *
  9. * @copyright 2010-2018 Mike van Riel / Naenius (http://www.naenius.com)
  10. * @license http://www.opensource.org/licenses/mit-license.php MIT
  11. * @link http://phpdoc.org
  12. */
  13. namespace phpDocumentor\Reflection;
  14. /**
  15. * Interface for Api Elements
  16. */
  17. interface Element
  18. {
  19. /**
  20. * Returns the Fqsen of the element.
  21. */
  22. public function getFqsen(): Fqsen;
  23. /**
  24. * Returns the name of the element.
  25. */
  26. public function getName(): string;
  27. }