-
-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Cavasin F
committed
Dec 12, 2023
1 parent
75f8c4a
commit a95f49b
Showing
7 changed files
with
66 additions
and
59 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,21 @@ | ||
<?php | ||
|
||
/* | ||
* This file is part of the Tabler bundle, created by Kevin Papst (www.kevinpapst.de). | ||
* | ||
* For the full copyright and license information, please view the LICENSE | ||
* file that was distributed with this source code. | ||
*/ | ||
|
||
namespace KevinPapst\TablerBundle\Model; | ||
|
||
interface NotificationInterface | ||
{ | ||
public function getIdentifier(): string; | ||
|
||
public function getMessage(): string; | ||
|
||
public function getType(): string; | ||
|
||
public function getUrl(): ?string; | ||
} | ||
<?php | ||
|
||
/* | ||
* This file is part of the Tabler bundle, created by Kevin Papst (www.kevinpapst.de). | ||
* | ||
* For the full copyright and license information, please view the LICENSE | ||
* file that was distributed with this source code. | ||
*/ | ||
|
||
namespace KevinPapst\TablerBundle\Model; | ||
|
||
interface NotificationInterface | ||
{ | ||
public function getIdentifier(): string; | ||
|
||
public function getMessage(): string; | ||
|
||
public function getType(): string; | ||
|
||
public function getUrl(): ?string; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,28 +1,28 @@ | ||
<?php | ||
|
||
/* | ||
* This file is part of the Tabler bundle, created by Kevin Papst (www.kevinpapst.de). | ||
* | ||
* For the full copyright and license information, please view the LICENSE | ||
* file that was distributed with this source code. | ||
*/ | ||
|
||
namespace KevinPapst\TablerBundle\Model; | ||
|
||
/** | ||
* TODO : Implement these in NotificationInterface later | ||
* @internal THIS WILL BE REMOVED WITH THE NEXT MAJOR RELEASE, NO BC PROMISE GIVEN | ||
* @deprecated | ||
*/ | ||
interface NotificationV2Interface extends NotificationInterface | ||
{ | ||
public function isActive(): bool; | ||
|
||
public function isDisabled(): bool; | ||
|
||
public function isWithBadge(): bool; | ||
|
||
public function isBadgeAnimated(): bool; | ||
|
||
public function isHtml(): bool; | ||
} | ||
<?php | ||
|
||
/* | ||
* This file is part of the Tabler bundle, created by Kevin Papst (www.kevinpapst.de). | ||
* | ||
* For the full copyright and license information, please view the LICENSE | ||
* file that was distributed with this source code. | ||
*/ | ||
|
||
namespace KevinPapst\TablerBundle\Model; | ||
|
||
/** | ||
* TODO : Implement these in NotificationInterface later | ||
* @internal THIS WILL BE REMOVED WITH THE NEXT MAJOR RELEASE, NO BC PROMISE GIVEN | ||
* @deprecated | ||
*/ | ||
interface NotificationV2Interface extends NotificationInterface | ||
{ | ||
public function isActive(): bool; | ||
|
||
public function isDisabled(): bool; | ||
|
||
public function isWithBadge(): bool; | ||
|
||
public function isBadgeAnimated(): bool; | ||
|
||
public function isHtml(): bool; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters