forked from php-flasher/flasher
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.phpstorm.meta.php
29 lines (22 loc) · 1.46 KB
/
.phpstorm.meta.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
<?php
namespace PHPSTORM_META;
registerArgumentsSet('notificationTypes', NotificationInterface::TYPE_SUCCESS, NotificationInterface::TYPE_ERROR, NotificationInterface::TYPE_WARNING, NotificationInterface::TYPE_INFO);
override(Envelope::get(0), type(0));
expectedArguments(\Flasher\Prime\Notification\NotificationBuilderInterface::type(), 0, argumentsSet('notificationTypes'));
expectedArguments(\Flasher\Prime\Notification\NotificationBuilderInterface::addFlash(), 0, argumentsSet('notificationTypes'));
expectedArguments(\Flasher\Prime\Notification\NotificationInterface::setType(), 0, argumentsSet('notificationTypes'));
expectedReturnValues(\Flasher\Prime\Notification\NotificationInterface::getType(), argumentsSet('notificationTypes'));
override(\Flasher\Prime\FlasherInterface::create(), map([
'' => '@',
'template' => \Flasher\Prime\Factory\TemplateFactory::class,
'template.tailwindcss' => \Flasher\Prime\Factory\TemplateFactory::class,
'template.tailwindcss_bg' => \Flasher\Prime\Factory\TemplateFactory::class,
'template.bootstrap' => \Flasher\Prime\Factory\TemplateFactory::class,
]));
override(\Flasher\Prime\FlasherInterface::using(), map([
'' => '@',
'template' => \Flasher\Prime\Factory\TemplateFactory::class,
'template.tailwindcss' => \Flasher\Prime\Factory\TemplateFactory::class,
'template.tailwindcss_bg' => \Flasher\Prime\Factory\TemplateFactory::class,
'template.bootstrap' => \Flasher\Prime\Factory\TemplateFactory::class,
]));