1 | <?php namespace Neomerx\CorsIlluminate\Settings; |
||
26 | class Settings extends CorsSettings |
||
27 | { |
||
28 | /** |
||
29 | * If CORS handling should be logged (true/false, by default is turned off). |
||
30 | */ |
||
31 | const KEY_LOGS_ENABLED = 21; |
||
32 | |||
33 | /** |
||
34 | * @return bool |
||
35 | */ |
||
36 | 1 | public function isLogsEnabled() |
|
41 | |||
42 | /** |
||
43 | * @param bool $enabled |
||
44 | * |
||
45 | * @return $this |
||
46 | */ |
||
47 | 1 | public function setLogsEnabled($enabled) |
|
53 | } |
||
54 |