class ImageMetadata implements Rule

Constants

ALLOWED_ATTRIBUTES

Allowed columns for the metadata information to change image attributes.

ALLOWED_METADATA

Allowed columns for the metadata information to change image metadata.

NUMERIC_FIELDS

All numeric metadata fields (keys) with description (values).

Properties

protected array $files

Array of volume file names.

protected string $message

The validation error message.

Methods

__construct(array $files)

Create a new instance.

bool
passes(string $attribute, array $value)

Determine if the validation rule passes.

string
message()

Get the validation error message.

Details

at line 65
__construct(array $files)

Create a new instance.

Parameters

array $files

at line 78
bool passes(string $attribute, array $value)

Determine if the validation rule passes.

Parameters

string $attribute
array $value

Return Value

bool

at line 223
string message()

Get the validation error message.

Return Value

string