load() public method

The default implementation will first clean up the table by calling ActiveFixture::resetTable. It will then populate the table with the data returned by ActiveFixture::getData. If you override this method, you should consider calling the parent implementation so that the data returned by ActiveFixture::getData can be populated into the table.
public load ( )
コード例 #1
0
ファイル: UserFixture.php プロジェクト: frostiks25/rzwebsys7
 public function load()
 {
     parent::load();
     $installer = Yii::$app->rbacInstaller;
     $installer->assign();
 }