Property | Type | Description | |
---|---|---|---|
$date | notification to store |
Property | Type | Description | |
---|---|---|---|
$config | Illuminate\Contracts\Config\Repository | ||
$notifications | array | Builder data. |
Method | Description | |
---|---|---|
__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. |
Method | Description | |
---|---|---|
getDate ( ) : string | ||
hasEntity ( array $info ) : boolean | If the values passed are 2 or more, it means that you specified the entity over then the id. | |
isIterable ( $var ) : boolean | ||
setDate ( ) | Set date on the array. | |
setEntityAction ( $from, $property ) : array | It set the entity who will do the action of receive or send. |
public __construct ( Fenos\Notifynder\Contracts\NotifynderCategory $notifynderCategory ) | ||
$notifynderCategory | Fenos\Notifynder\Contracts\NotifynderCategory |
public category ( $category ) | ||
$category |
public offsetExists ( mixed $offset ) : boolean | ||
$offset | mixed | |
return | boolean |
public setBuilderData ( $field, $data ) | ||
$field | ||
$data |
public setConfig ( Illuminate\Contracts\Config\Repository $config ) | ||
$config | Illuminate\Contracts\Config\Repository |
protected setEntityAction ( $from, $property ) : array | ||
$from | ||
$property | ||
return | array |
protected Repository,Illuminate\Contracts\Config $config | ||
return | Illuminate\Contracts\Config\Repository |