Documentation

ComposerDependency
in package
implements Dependency

Interfaces, Classes, Traits and Enums

Dependency

Table of Contents

$class  : string
$name  : string
The fully qualified package name
$version  : string
__construct()  : mixed
getClass()  : string
can be "php", "composer", "pear"
getName()  : string
The fully qualified package name as appropriate for that type
getType()  : string
can be "php", "composer", "pear"
getVersion()  : string

Properties

$name

The fully qualified package name

private string $name

i.e. "horde/yaml"

name

Methods

__construct()

public __construct(string $name, string $class, string $version) : mixed
Parameters
$name : string
$class : string
$version : string
Return values
mixed

getClass()

can be "php", "composer", "pear"

public getClass() : string
Return values
string

getName()

The fully qualified package name as appropriate for that type

public getName() : string
Return values
string

getType()

can be "php", "composer", "pear"

public getType() : string
Return values
string

Search results