class BundledComponent
Hierarchy
- class \PharIo\Manifest\BundledComponent
Expanded class hierarchy of BundledComponent
File
-
vendor/
phar-io/ manifest/ src/ values/ BundledComponent.php, line 15
Namespace
PharIo\ManifestView source
class BundledComponent {
/** @var string */
private $name;
/** @var Version */
private $version;
public function __construct(string $name, Version $version) {
$this->name = $name;
$this->version = $version;
}
public function getName() : string {
return $this->name;
}
public function getVersion() : Version {
return $this->version;
}
}
Members
Title Sort descending | Modifiers | Object type | Summary |
---|---|---|---|
BundledComponent::$name | private | property | @var string |
BundledComponent::$version | private | property | @var Version |
BundledComponent::getName | public | function | |
BundledComponent::getVersion | public | function | |
BundledComponent::__construct | public | function |