Subversion-Projekte lars-tiefland.laravel_shop

Revision

Details | Letzte Änderung | Log anzeigen | RSS feed

Revision Autor Zeilennr. Zeile
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
use PharIo\Version\Version;
13
 
14
class BundledComponent {
15
    /** @var string */
16
    private $name;
17
 
18
    /** @var Version */
19
    private $version;
20
 
21
    public function __construct(string $name, Version $version) {
22
        $this->name    = $name;
23
        $this->version = $version;
24
    }
25
 
26
    public function getName(): string {
27
        return $this->name;
28
    }
29
 
30
    public function getVersion(): Version {
31
        return $this->version;
32
    }
33
}