mirror of
https://github.com/php-flasher/php-flasher.git
synced 2026-03-31 15:07:47 +01:00
Merge pull request #207 from BrookeDot/patch-2
Update Flasher Class Parameter Order
This commit is contained in:
@@ -99,7 +99,7 @@ flash()->{{ type }}('{{ message }}');
|
||||
These four methods — `success()`, `error()`, `warning()`, and `info()` — are shortcuts for the `flash()` method. They let you specify the `type` and `message` in one method call instead of passing them separately to `flash()`.
|
||||
|
||||
```php
|
||||
flash()->flash(string $type, string $message, string $title = null, array $options = [])
|
||||
flash()->flash(string $type, string $message, array $options = [], string $title = null)
|
||||
```
|
||||
|
||||
{% assign id = '#/ usage flash' %}
|
||||
|
||||
Reference in New Issue
Block a user