From dc35a78374e9b091505cfc56eefcd0c631c56e3a Mon Sep 17 00:00:00 2001 From: Frederic Guillot Date: Wed, 13 Jan 2016 21:45:14 -0500 Subject: Move some validators to separate classes --- app/Validator/ActionValidator.php | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 app/Validator/ActionValidator.php (limited to 'app/Validator/ActionValidator.php') diff --git a/app/Validator/ActionValidator.php b/app/Validator/ActionValidator.php new file mode 100644 index 00000000..95ee7d21 --- /dev/null +++ b/app/Validator/ActionValidator.php @@ -0,0 +1,38 @@ +execute(), + $v->getErrors() + ); + } +} -- cgit v1.2.3