메소드 |
설명 |
|
__construct ( Fenos\Notifynder\Contracts\NotifynderCategory $notifynderCategory ) |
|
|
category ( $category ) |
Set Category and covert it, to the id
if name of it given. |
|
expire ( $datetime ) |
Set expire time. |
|
extra ( array $extra = [] ) |
Set extra value. |
|
from ( ) |
Set who will send the notification. |
|
loop ( $dataToIterate, Closure $builder ) |
Loop the data for create
multi notifications array. |
|
offsetExists ( mixed $offset ) : boolean |
|
|
offsetGet ( mixed $offset ) : mixed |
|
|
offsetSet ( mixed $offset, mixed $value ) |
|
|
offsetUnset ( mixed $offset ) : null |
|
|
raw ( Closure $closure ) : array | false |
Build the array with the builder inside
a Closure, it has more flexibility for
the generation of your array. |
|
refresh ( ) |
Refresh the state of the notifications. |
|
setBuilderData ( $field, $data ) |
Set builder Data. |
|
setConfig ( Illuminate\Contracts\Config\Repository $config ) |
|
|
setField ( $key, $value ) |
Set additional fields value. |
|
to ( ) |
Set who will receive the notification. |
|
toArray ( ) : mixed |
Compose the builder to
the array. |
|
url ( $url ) |
Set the url of the notification. |
|