class VolumeUrl implementsRule

Properties

protectedstring $message The validation message to display.

Methods

__construct()

Create a new instance.

bool
passes(string$attribute,mixed$value)

Determine if the validation rule passes.

string
message()

Get the validation error message.

bool
passesRemoteUrl(string$value)

Validate a remote volume URL.

bool
passesDiskUrl(string$value)

Validate a storage disk volume URL.

Details

at line25
__construct()

Create a new instance.

at line37
bool passes(string$attribute,mixed$value)

Determine if the validation rule passes.

Parameters

string $attribute
mixed $value

Return Value

bool

at line51
string message()

Get the validation error message.

Return Value

string

at line63
protectedbool passesRemoteUrl(string$value)

Validate a remote volume URL.

Parameters

string $value

Return Value

bool

at line94
protectedbool passesDiskUrl(string$value)

Validate a storage disk volume URL.

Parameters

string $value

Return Value

bool