* @method void setPreName(string $preName)
*/
class TestEntity extends Entity {
- public $name;
- public $email;
- public $testId;
- public $preName;
+ protected $name;
+ protected $email;
+ protected $testId;
+ protected $preName;
public function __construct($name=null){
$this->addType('testId', 'integer');
}
-}
\ No newline at end of file
+}
* @method void setPreName(string $preName)
*/
class Example extends Entity {
- public $preName;
- public $email;
+ protected $preName;
+ protected $email;
};