PHP Trait CreateModels

Datei anzeigen Open project: fenos/notifynder

Protected Methods

Method Description
createCategory ( array $data = [] ) : mixed Create Category.
createGroup ( array $data = [] ) : mixed Create Group.
createMultipleNotifications ( array $data = [] ) : mixed Shortcut Multi notifications.
createNotification ( array $data = [] ) : mixed Shortcut to create a new notification.
createUser ( array $data = [] ) : mixed

Method Details

createCategory() protected method

Create Category.
protected createCategory ( array $data = [] ) : mixed
$data array
return mixed

createGroup() protected method

Create Group.
protected createGroup ( array $data = [] ) : mixed
$data array
return mixed

createMultipleNotifications() protected method

Shortcut Multi notifications.
protected createMultipleNotifications ( array $data = [] ) : mixed
$data array
return mixed

createNotification() protected method

Shortcut to create a new notification.
protected createNotification ( array $data = [] ) : mixed
$data array
return mixed

createUser() protected method

protected createUser ( array $data = [] ) : mixed
$data array
return mixed