Documentation

ImgStub extends ConstStub
in package

Represents a PHP constant and its value.

Tags
author

Grégoire Pineau lyrixx@lyrixx.info

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
$position  : mixed
$refCount  : mixed
$type  : mixed
$value  : mixed
$defaultProperties  : mixed
__construct()  : mixed
__toString()  : string

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

$position

public mixed $position = 0

$refCount

public mixed $refCount = 0

$type

public mixed $type = self::TYPE_REF

$value

public mixed $value

$defaultProperties

private static mixed $defaultProperties = []

Methods

__construct()

public __construct(string $data, string $contentType[, string $size = '' ]) : mixed
Parameters
$data : string
$contentType : string
$size : string = ''
Return values
mixed

__toString()

public __toString() : string
Return values
string

Search results