Skip to content

Commit

Permalink
add config flag (apiato#384)
Browse files Browse the repository at this point in the history
  • Loading branch information
johannesschobel authored Mar 14, 2018
1 parent 3d0fab4 commit 87849d8
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions app/Ship/Configs/apiato.php
Original file line number Diff line number Diff line change
Expand Up @@ -180,4 +180,22 @@
'automatically-apply-request-criteria' => env('API_REQUEST_APPLY_REQUEST_CRITERIA', true),
],

'logging' => [

/*
|--------------------------------------------------------------------------
| Log Apiato Wrong Caller Style
|--------------------------------------------------------------------------
|
| This option describes, if a "wrong" Apiato Call Style should be logged.
| The preferred style is Apiato::call('Container@Action/Task'), however,
| one may use Apiato::call(Your\Full\Classname::class) as well.
|
| Default Value: true ("Violations" will be logged)
|
*/
'log-wrong-apiato-caller-style' => true,

]

];

0 comments on commit 87849d8

Please sign in to comment.