Documentation

PackageResolver
in package

Tags
author

Fabien Potencier fabien@symfony.com

Table of Contents

$downloader  : mixed
$SYMFONY_VERSIONS  : mixed
__construct()  : mixed
parseVersion()  : string
resolve()  : array<string|int, mixed>
resolvePackageName()  : string
throwAlternatives()  : mixed

Properties

$SYMFONY_VERSIONS

private static mixed $SYMFONY_VERSIONS = ['lts', 'previous', 'stable', 'next', 'dev']

Methods

parseVersion()

public parseVersion(string $package, string $version, bool $isRequire) : string
Parameters
$package : string
$version : string
$isRequire : bool
Return values
string

resolve()

public resolve([array<string|int, mixed> $arguments = [] ][, bool $isRequire = false ]) : array<string|int, mixed>
Parameters
$arguments : array<string|int, mixed> = []
$isRequire : bool = false
Return values
array<string|int, mixed>

resolvePackageName()

private resolvePackageName(string $argument, int $position, bool $isRequire) : string
Parameters
$argument : string
$position : int
$isRequire : bool
Return values
string

throwAlternatives()

private throwAlternatives(string $argument, int $position) : mixed
Parameters
$argument : string
$position : int
Tags
throws
UnexpectedValueException
Return values
mixed

Search results