public function behaviors()
{
return [
'access' => [
'class' => AccessControl::className(),
'rules' => [
'actions' => ['index'],
'allow' => true,
'roles' => ['@'],
],
],
'verbs' => [
'class' => VerbFilter::className(),
'actions' => [
//'delete' => ['POST'],
],
],
];
}