Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Documentation updates

  • Loading branch information...
commit 5e3b41062607119be254d1cc68586ccadcf508fb 1 parent 0db1df1
@mariano authored
Showing with 5 additions and 5 deletions.
  1. +5 −5 README.md
View
10 README.md
@@ -84,27 +84,27 @@ class User extends \li3_doctrine2\models\BaseEntity {
* @GeneratedValue
* @Column(type="integer")
*/
- protected $id;
+ private $id;
/**
* @Column(type="string",unique=true)
*/
- protected $email;
+ private $email;
/**
* @Column(type="text")
*/
- protected $password;
+ private $password;
/**
* @Column(type="string")
*/
- protected $name;
+ private $name;
/**
* Validation rules
*/
- protected $validates = array(
+ private $validates = array(
'email' => array(
'required' => array('notEmpty', 'message' => 'Email is required'),
'valid' => array('email', 'message' => 'You must specify a valid email address', 'skipEmpty' => true)
Please sign in to comment.
Something went wrong with that request. Please try again.