Permalink
Browse files

Documentation updates

  • Loading branch information...
mariano committed Jan 6, 2012
1 parent 0db1df1 commit 5e3b41062607119be254d1cc68586ccadcf508fb
Showing with 5 additions and 5 deletions.
  1. +5 −5 README.md
View
@@ -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)

0 comments on commit 5e3b410

Please sign in to comment.