VolumeImageUnique
class VolumeImageUnique implementsRule
Properties
protectedCollection | $images | The filenames of the images that already exist. | |
protectedVolume | $volume | The volume to check for existing images. |
Methods
bool
passes(string$attribute,array$value)
Check if the given image filenames don't already exist in the volume.
string
message()
Get the validation error message.
Details
at line29
__construct(Volume$volume)
Create a new instance.
at line41
bool
passes(string$attribute,array$value)
Check if the given image filenames don't already exist in the volume.
at line55
string
message()
Get the validation error message.