File "ImageFile.php"

Full Path: /home/clickysoft/public_html/jmapi5.clickysoft.net/vendor/laravel/framework/src/Illuminate/Validation/Rules/ImageFile.php
File size: 508 bytes
MIME-type: text/x-php
Charset: utf-8

<?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;
    }
}