Current Path : /home/lentoinv/lentoria.com/vendor/laravel/framework/src/Illuminate/Validation/Rules/ |
Current File : //home/lentoinv/lentoria.com/vendor/laravel/framework/src/Illuminate/Validation/Rules/ImageFile.php |
<?php namespace Illuminate\Validation\Rules; class ImageFile extends File { /** * Create a new image file rule instance. * * @return void */ public function __construct() { $this->rules('image'); } /** * The dimension constraints for the uploaded file. * * @param \Illuminate\Validation\Rules\Dimensions $dimensions */ public function dimensions($dimensions) { $this->rules($dimensions); return $this; } }