New validation thing is taking my namespace

This commit is contained in:
James Cole 2017-09-09 22:06:30 +02:00
parent f077adaefd
commit b219283d66
No known key found for this signature in database
GPG Key ID: C16961E655E74B5E

40
app/Rules/Uppercase.php Normal file
View File

@ -0,0 +1,40 @@
<?php
namespace FireflyIII\Rules;
use Illuminate\Contracts\Validation\Rule;
class Uppercase implements Rule
{
/**
* Create a new rule instance.
*
* @return void
*/
public function __construct()
{
//
}
/**
* Determine if the validation rule passes.
*
* @param string $attribute
* @param mixed $value
* @return bool
*/
public function passes($attribute, $value)
{
//
}
/**
* Get the validation error message.
*
* @return string
*/
public function message()
{
return 'The validation error message.';
}
}