public function behaviors()
 {
     return array_merge(parent::behaviors(), ['renew-access' => ['class' => AccessControl::class, 'only' => ['add-to-cart-renewal', 'bulk-renewal'], 'rules' => [['allow' => true, 'roles' => ['domain.pay']]]], 'freeze-access' => ['class' => AccessControl::class, 'only' => ['enable-freeze', 'enable-freeze-w-p'], 'rules' => [['allow' => true, 'roles' => ['domain.freeze']]]], 'unfreeze-access' => ['class' => AccessControl::class, 'only' => ['disable-freeze', 'disable-freeze-w-p'], 'rules' => [['allow' => true, 'roles' => ['domain.unfreeze']]]]]);
 }
 public function behaviors()
 {
     return array_merge(parent::behaviors(), ['access' => ['class' => AccessControl::class, 'rules' => [['allow' => true, 'roles' => ['resell']]]]]);
 }
 public function behaviors()
 {
     return ArrayHelper::merge(parent::behaviors(), ['manage-access' => ['class' => AccessControl::class, 'only' => ['create', 'update', 'delete'], 'rules' => [['allow' => true, 'roles' => ['admin']]]]]);
 }
 /**
  * {@inheritdoc}
  */
 public function behaviors()
 {
     return ArrayHelper::merge(parent::behaviors(), [['class' => VerbFilter::class, 'actions' => ['request-email-verification' => ['post'], 'request-phone-verification' => ['post']]]]);
 }
 public function behaviors()
 {
     return array_merge(parent::behaviors(), ['access-bill' => ['class' => AccessControl::class, 'only' => ['index', 'view', 'create', 'update', 'delete'], 'rules' => [['allow' => true, 'roles' => ['manage', 'deposit'], 'actions' => ['index', 'view']], ['allow' => true, 'roles' => ['bill.create'], 'actions' => ['create', 'import', 'copy']], ['allow' => true, 'roles' => ['bill.update'], 'actions' => ['update']], ['allow' => true, 'roles' => ['bill.delete'], 'actions' => ['delete']]]]]);
 }
 public function behaviors()
 {
     return array_merge(parent::behaviors(), [['class' => PageCache::class, 'only' => ['templates'], 'duration' => 7200, 'variations' => [Yii::$app->user->getId()]]]);
 }
 public function __construct($id, Module $module, DomainTariffRepository $domainTariffRepository, array $config = [])
 {
     parent::__construct($id, $module, $config);
     $this->domainTariffRepository = $domainTariffRepository;
 }