Miguel Nogueira
bca6020ab0
This commit adds the ability to edit and modify existing forms. On the technical side, it also adds a new reusable validation Facade which helps reduce duplicated code.
15 lines
216 B
PHP
15 lines
216 B
PHP
<?php
|
|
namespace App\Facades;
|
|
|
|
use Illuminate\Support\Facades\Facade;
|
|
|
|
class ContextAwareValidation extends Facade
|
|
{
|
|
|
|
protected static function getFacadeAccessor()
|
|
{
|
|
return 'contextAwareValidator';
|
|
}
|
|
|
|
}
|