class Image extends File

Traits

Properties

protected array $timestamps from  Timestamps
protected array $attributes from  Accessors
array $modified from  Accessors
int $file
string|null $name
string|null $description

Methods

serializeTimestamp($value)

No description

array
toArray()

Get the raw attributes

mixed
__get(string $property)

No description

__set(string $property, mixed $value)

No description

bool
__isset(string $property)

No description

__unset(string $key)

No description

bool
offsetExists(string $property)

No description

mixed
offsetGet(string $property)

No description

mixed
offsetSet(string $property, mixed $value)

No description

void
offsetUnset(string $key)

No description

string
__toString()

No description

__construct($attributes = [])

No description

from  File
static File|null
cast(array|null $attributes = [])

No description

from  File
raw()

No description

from  File
string
getPathAttribute()

No description

from  File
string|null
url(string|null $preset = 'default')

No description

jsonSerialize()

No description

from  File
toJson($options = 0)

No description

from  File
__debugInfo()

No description

from  File
getFileAttribute($file)

No description

Details

in Timestamps at line 18
serializeTimestamp($value)

Parameters

$value

in Accessors at line 30
array toArray()

Get the raw attributes

Return Value

array

in Accessors at line 39
mixed __get(string $property)

Parameters

string $property

Return Value

mixed

in Accessors at line 67
__set(string $property, mixed $value)

Parameters

string $property
mixed $value

in Accessors at line 97
bool __isset(string $property)

Parameters

string $property

Return Value

bool

in Accessors at line 105
__unset(string $key)

Parameters

string $key

in Accessors at line 116
bool offsetExists(string $property)

Parameters

string $property

Return Value

bool

in Accessors at line 127
mixed offsetGet(string $property)

Parameters

string $property

Return Value

mixed

in Accessors at line 137
mixed offsetSet(string $property, mixed $value)

Parameters

string $property
mixed $value

Return Value

mixed

in Accessors at line 146
void offsetUnset(string $key)

Parameters

string $key

Return Value

void

in Accessors at line 154
string __toString()

Return Value

string

in File at line 19
__construct($attributes = [])

Parameters

$attributes

in File at line 28
static File|null cast(array|null $attributes = [])

Parameters

array|null $attributes

Return Value

File|null

in File at line 37
raw()

in File at line 42
string getPathAttribute()

Return Value

string

at line 24
string|null url(string|null $preset = 'default')

Parameters

string|null $preset

Return Value

string|null

in File at line 58
jsonSerialize()

in File at line 68
toJson($options = 0)

Parameters

$options

in File at line 73
__debugInfo()

at line 15
getFileAttribute($file)

Parameters

$file