- Toggle between upper case and lower case: Ctrl + Shift + U / Cmd + Shift + U
- Surround code fragments: Ctrl + Alt + T / Сmd + Opt + T
Note: Shortcuts may vary depending on your keymap.
<?php | |
/** | |
* Convert PascalCase string or array values to snake_case. | |
* | |
* @param array|string $input | |
* @return array|string | |
*/ | |
function pascalToSnakeCase(array|string $input): array|string | |
{ |
<?php | |
use Illuminate\Support\Facades\Mail; | |
public function boot() | |
{ | |
if (!$this->app->environment('production')) { | |
Mail::alwaysTo('[email protected]'); | |
} | |
} |