company controller

This commit is contained in:
Kavalar 2024-05-24 20:23:09 +03:00
parent 492bc8e1f5
commit 0d79a7df34

View File

@ -22,6 +22,21 @@ class CompanyController extends Controller
$this->service = new CompanyService(); $this->service = new CompanyService();
} }
/**
* {@inheritdoc}
*/
public function behaviors()
{
return [
'verbs' => [
'class' => VerbFilter::className(),
'actions' => [
'delete' => ['POST'],
],
],
];
}
/** /**
* @inheritDoc * @inheritDoc
*/ */