From 1c6f15a9fac14cdbd157e6c60312e6a05072f05d Mon Sep 17 00:00:00 2001 From: Taylor Otwell Date: Wed, 16 Nov 2011 22:45:50 -0600 Subject: [PATCH] make database connection protected. --- laravel/validator.php | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/laravel/validator.php b/laravel/validator.php index 57f57688..1157209e 100644 --- a/laravel/validator.php +++ b/laravel/validator.php @@ -5,13 +5,6 @@ class Validator { - /** - * The database connection that should be used by the validator. - * - * @var Database\Connection - */ - public $connection; - /** * The array being validated. * @@ -40,6 +33,13 @@ class Validator { */ protected $messages = array(); + /** + * The database connection that should be used by the validator. + * + * @var Database\Connection + */ + protected $connection; + /** * The language that should be used when retrieving error messages. *