AuthorElement.php 567 B

123456789101112131415161718192021
  1. <?php
  2. /*
  3. * This file is part of PharIo\Manifest.
  4. *
  5. * (c) Arne Blankerts <arne@blankerts.de>, Sebastian Heuer <sebastian@phpeople.de>, 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 PharIo\Manifest;
  11. class AuthorElement extends ManifestElement {
  12. public function getName() {
  13. return $this->getAttributeValue('name');
  14. }
  15. public function getEmail() {
  16. return $this->getAttributeValue('email');
  17. }
  18. }