public function __construct() { _Validator::extend('product_image', function ($attribute, $value, $parameters) { }); }