Table of Contents
-
$packages
: mixed
-
$sort
: mixed
-
$unpack
: mixed
-
__construct()
: mixed
-
addPackage()
: mixed
-
getPackages()
: array<string|int, mixed>
-
shouldSort()
: bool
-
shouldUnpack()
: bool
$packages
private
mixed
$packages
= []
$sort
private
mixed
$sort
$unpack
private
mixed
$unpack
__construct()
public
__construct(bool $unpack, bool $sort) : mixed
Parameters
-
$unpack
: bool
-
-
$sort
: bool
-
Return values
mixed
—
addPackage()
public
addPackage(string $name, string $version, bool $dev) : mixed
Parameters
-
$name
: string
-
-
$version
: string
-
-
$dev
: bool
-
Return values
mixed
—
getPackages()
public
getPackages() : array<string|int, mixed>
Return values
array<string|int, mixed>
—
shouldSort()
public
shouldSort() : bool
Return values
bool
—
shouldUnpack()
public
shouldUnpack() : bool
Return values
bool
—