make database connection protected.

This commit is contained in:
Taylor Otwell 2011-11-16 22:45:50 -06:00
parent a1b3ba7538
commit 1c6f15a9fa
1 changed files with 7 additions and 7 deletions

View File

@ -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.
*