annotate vendor/phar-io/manifest/src/xml/AuthorElement.php @ 5:12f9dff5fda9 tip

Update to Drupal core 8.7.1
author Chris Cannam
date Thu, 09 May 2019 15:34:47 +0100
parents 5311817fb629
children
rev   line source
Chris@2 1 <?php
Chris@2 2 /*
Chris@2 3 * This file is part of PharIo\Manifest.
Chris@2 4 *
Chris@2 5 * (c) Arne Blankerts <arne@blankerts.de>, Sebastian Heuer <sebastian@phpeople.de>, Sebastian Bergmann <sebastian@phpunit.de>
Chris@2 6 *
Chris@2 7 * For the full copyright and license information, please view the LICENSE
Chris@2 8 * file that was distributed with this source code.
Chris@2 9 */
Chris@2 10
Chris@2 11 namespace PharIo\Manifest;
Chris@2 12
Chris@2 13 class AuthorElement extends ManifestElement {
Chris@2 14 public function getName() {
Chris@2 15 return $this->getAttributeValue('name');
Chris@2 16 }
Chris@2 17
Chris@2 18 public function getEmail() {
Chris@2 19 return $this->getAttributeValue('email');
Chris@2 20 }
Chris@2 21 }