-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
NotyfPlugin.php
43 lines (38 loc) · 941 Bytes
/
NotyfPlugin.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
<?php
/*
* This file is part of the PHPFlasher package.
* (c) Younes KHOUBZA <younes.khoubza@gmail.com>
*/
namespace Flasher\Notyf\Prime;
use Flasher\Prime\Plugin\Plugin;
class NotyfPlugin extends Plugin
{
/**
* {@inheritdoc}
*/
public function getScripts()
{
return array(
'cdn' => array(
'https://cdn.jsdelivr.net/npm/@flasher/flasher-notyf@1.3.2/dist/flasher-notyf.min.js',
),
'local' => array(
'/vendor/flasher/flasher-notyf.min.js',
),
);
}
/**
* {@inheritdoc}
*/
public function getStyles()
{
return array(
'cdn' => array(
'https://cdn.jsdelivr.net/npm/@flasher/flasher-notyf@1.3.2/dist/flasher-notyf.min.css',
),
'local' => array(
'/vendor/flasher/flasher-notyf.min.css',
),
);
}
}