| 148 |
lars |
1 |
<?php declare(strict_types = 1);
|
|
|
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 |
|
|
|
12 |
class AuthorElement extends ManifestElement {
|
|
|
13 |
public function getName(): string {
|
|
|
14 |
return $this->getAttributeValue('name');
|
|
|
15 |
}
|
|
|
16 |
|
|
|
17 |
public function getEmail(): string {
|
|
|
18 |
return $this->getAttributeValue('email');
|
|
|
19 |
}
|
|
|
20 |
}
|