Documentation

LinkStub extends ConstStub
in package

Represents a file or a URL.

Tags
author

Nicolas Grekas p@tchwork.com

Table of Contents

ARRAY_ASSOC  = 1
ARRAY_INDEXED  = 2
STRING_BINARY  = 1
STRING_UTF8  = 2
TYPE_ARRAY  = 3
TYPE_OBJECT  = 4
TYPE_REF  = 1
TYPE_RESOURCE  = 5
TYPE_STRING  = 2
$attr  : mixed
$class  : mixed
$cut  : mixed
$handle  : mixed
$inVendor  : mixed
$position  : mixed
$refCount  : mixed
$type  : mixed
$value  : mixed
$composerRoots  : mixed
$defaultProperties  : mixed
$vendorRoots  : mixed
__construct()  : mixed
__toString()  : string
getComposerRoot()  : mixed

Constants

ARRAY_ASSOC

public mixed ARRAY_ASSOC = 1

ARRAY_INDEXED

public mixed ARRAY_INDEXED = 2

STRING_BINARY

public mixed STRING_BINARY = 1

STRING_UTF8

public mixed STRING_UTF8 = 2

TYPE_ARRAY

public mixed TYPE_ARRAY = 3

TYPE_OBJECT

public mixed TYPE_OBJECT = 4

TYPE_REF

public mixed TYPE_REF = 1

TYPE_RESOURCE

public mixed TYPE_RESOURCE = 5

TYPE_STRING

public mixed TYPE_STRING = 2

Properties

$attr

public mixed $attr = []

$class

public mixed $class = ''

$cut

public mixed $cut = 0

$handle

public mixed $handle = 0

$inVendor

public mixed $inVendor = false

$position

public mixed $position = 0

$refCount

public mixed $refCount = 0

$type

public mixed $type = self::TYPE_REF

$value

public mixed $value

$composerRoots

private static mixed $composerRoots

$defaultProperties

private static mixed $defaultProperties = []

$vendorRoots

private static mixed $vendorRoots

Methods

__construct()

public __construct(string $label, int $line[, string|null $href = null ]) : mixed
Parameters
$label : string
$line : int
$href : string|null = null
Return values
mixed

__toString()

public __toString() : string
Return values
string

getComposerRoot()

private getComposerRoot(string $file, bool &$inVendor) : mixed
Parameters
$file : string
$inVendor : bool
Return values
mixed

Search results