File "rule.stub"
Full Path: /home/clickysoft/public_html/jmapi5.clickysoft.net/vendor/laravel/framework/src/Illuminate/Foundation/Console/stubs/rule.stub
File size: 673 bytes
MIME-type: text/x-php
Charset: utf-8
<?php
namespace {{ namespace }};
use Illuminate\Contracts\Validation\{{ ruleType }};
class {{ class }} implements {{ ruleType }}
{
/**
* 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.';
}
}