Commit 1c6f15a9 authored by Taylor Otwell's avatar Taylor Otwell

make database connection protected.

parent a1b3ba75
......@@ -5,13 +5,6 @@ use Laravel\Database\Manager as DB;
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.
*
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment