beforeAction() public method
events() public method Declares event handlers for the
$actions public property This property defines the allowed request