filsh\yii2\oauth2server\controllers\DefaultController::behaviors PHP Method

behaviors() public method

public behaviors ( )
    public function behaviors()
    {
        return ArrayHelper::merge(parent::behaviors(), ['exceptionFilter' => ['class' => ErrorToExceptionFilter::className()]]);
    }