File Manager Lite
Dir:
/home/codewavebd/public_html/vendor/phar-io/manifest/src/xml
Upload
[..]
AuthorElement.php (730 B)
Edit
Rename
Del
AuthorElementCollection.php (595 B)
Edit
Rename
Del
BundlesElement.php (634 B)
Edit
Rename
Del
CopyrightElement.php (780 B)
Edit
Rename
Del
ElementCollection.php (1.7 KB)
Edit
Rename
Del
ManifestDocument.php (3.26 KB)
Edit
Rename
Del
PhpElement.php (799 B)
Edit
Rename
Del
Edit: AuthorElement.php
<?php declare(strict_types = 1); /* * This file is part of PharIo\Manifest. * * Copyright (c) Arne Blankerts <arne@blankerts.de>, Sebastian Heuer <sebastian@phpeople.de>, Sebastian Bergmann <sebastian@phpunit.de> and contributors * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. * */ namespace PharIo\Manifest; class AuthorElement extends ManifestElement { public function getName(): string { return $this->getAttributeValue('name'); } public function getEmail(): string { return $this->getAttributeValue('email'); } public function hasEMail(): bool { return $this->hasAttribute('email'); } }
Simpan