PHP Trait luya\traits\RestBehaviorsTrait

The RestBehaviorTraits is going to override the default behaviors of rest controllers based on yii2. If the implementation class itself has the user behavior interface the user restrication is enabled.
Author: Basil Suter ([email protected])
Exibir arquivo Open project: luyadev/luya

Public Methods

Method Description
behaviors ( ) : array Remove not used behaviors from parent behaviors.

Private Methods

Method Description
getUserAuthClass ( )

Method Details

behaviors() public method

Remove not used behaviors from parent behaviors.
public behaviors ( ) : array
return array The list of behvaiors.