X7ROOT File Manager
Current Path:
/home/prisjneg/public_html/vendor/phar-io/manifest/src/values
home
/
prisjneg
/
public_html
/
vendor
/
phar-io
/
manifest
/
src
/
values
/
📁
..
📄
Application.php
(504 B)
📄
ApplicationName.php
(1.15 KB)
📄
Author.php
(1.27 KB)
📄
AuthorCollection.php
(1.02 KB)
📄
AuthorCollectionIterator.php
(1.13 KB)
📄
BundledComponent.php
(840 B)
📄
BundledComponentCollection.php
(1.16 KB)
📄
BundledComponentCollectionIterator.php
(1.25 KB)
📄
CopyrightInformation.php
(860 B)
📄
Email.php
(912 B)
📄
Extension.php
(1.4 KB)
📄
Library.php
(496 B)
📄
License.php
(764 B)
📄
Manifest.php
(2.54 KB)
📄
PhpExtensionRequirement.php
(682 B)
📄
PhpVersionRequirement.php
(804 B)
📄
Requirement.php
(424 B)
📄
RequirementCollection.php
(1.09 KB)
📄
RequirementCollectionIterator.php
(1.19 KB)
📄
Type.php
(1.16 KB)
📄
Url.php
(939 B)
Editing: Extension.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; use PharIo\Version\Version; use PharIo\Version\VersionConstraint; class Extension extends Type { /** @var ApplicationName */ private $application; /** @var VersionConstraint */ private $versionConstraint; public function __construct(ApplicationName $application, VersionConstraint $versionConstraint) { $this->application = $application; $this->versionConstraint = $versionConstraint; } public function getApplicationName(): ApplicationName { return $this->application; } public function getVersionConstraint(): VersionConstraint { return $this->versionConstraint; } public function isExtension(): bool { return true; } public function isExtensionFor(ApplicationName $name): bool { return $this->application->isEqual($name); } public function isCompatibleWith(ApplicationName $name, Version $version): bool { return $this->isExtensionFor($name) && $this->versionConstraint->complies($version); } }
Upload File
Create Folder