Commit 1c6f15a9 by Taylor Otwell

make database connection protected.

parent a1b3ba75
......@@ -6,13 +6,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.
*
* @var array
......@@ -41,6 +34,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.
*
* @var string
......
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