File Manager Lite
Dir:
/home/codewavebd/public_html/vendor/phar-io/manifest/src/values
Upload
[..]
Application.php (504 B)
Edit
Rename
Del
ApplicationName.php (1.15 KB)
Edit
Rename
Del
Author.php (1.27 KB)
Edit
Rename
Del
BundledComponent.php (840 B)
Edit
Rename
Del
BundledComponentCollection.php (1.16 KB)
Edit
Rename
Del
CopyrightInformation.php (860 B)
Edit
Rename
Del
Email.php (912 B)
Edit
Rename
Del
Extension.php (1.4 KB)
Edit
Rename
Del
Library.php (496 B)
Edit
Rename
Del
License.php (764 B)
Edit
Rename
Del
Manifest.php (2.54 KB)
Edit
Rename
Del
PhpExtensionRequirement.php (682 B)
Edit
Rename
Del
PhpVersionRequirement.php (804 B)
Edit
Rename
Del
Requirement.php (424 B)
Edit
Rename
Del
RequirementCollection.php (1.09 KB)
Edit
Rename
Del
Type.php (1.16 KB)
Edit
Rename
Del
Url.php (939 B)
Edit
Rename
Del
Edit: BundledComponentCollection.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 Countable; use IteratorAggregate; use function count; /** @template-implements IteratorAggregate<int,BundledComponent> */ class BundledComponentCollection implements Countable, IteratorAggregate { /** @var BundledComponent[] */ private $bundledComponents = []; public function add(BundledComponent $bundledComponent): void { $this->bundledComponents[] = $bundledComponent; } /** * @return BundledComponent[] */ public function getBundledComponents(): array { return $this->bundledComponents; } public function count(): int { return count($this->bundledComponents); } public function getIterator(): BundledComponentCollectionIterator { return new BundledComponentCollectionIterator($this); } }
Simpan