allFields() public method

Sets that we should select all available fields.
public allFields ( )
Example #1
0
 public function testException1fixed()
 {
     $m = new Model();
     $m->addField('name');
     $m->addField('surname');
     $m->onlyFields(['surname']);
     $m->allFields();
     $m['name'] = 5;
 }