ArrayHash.php
2 years ago
ArrayList.php
2 years ago
Arrays.php
2 years ago
Callback.php
2 years ago
DateTime.php
2 years ago
FileSystem.php
2 years ago
Floats.php
2 years ago
Helpers.php
2 years ago
Html.php
2 years ago
Image.php
2 years ago
Json.php
2 years ago
ObjectHelpers.php
2 years ago
ObjectMixin.php
2 years ago
Paginator.php
2 years ago
Random.php
2 years ago
Reflection.php
2 years ago
Strings.php
2 years ago
Type.php
2 years ago
Validators.php
2 years ago
exceptions.php
2 years ago
ObjectMixin.php
33 lines
| 1 | <?php |
| 2 | |
| 3 | /** |
| 4 | * This file is part of the Nette Framework (https://nette.org) |
| 5 | * Copyright (c) 2004 David Grudl (https://davidgrudl.com) |
| 6 | */ |
| 7 | declare (strict_types=1); |
| 8 | namespace FapiMember\Library\Nette\Utils; |
| 9 | |
| 10 | use FapiMember\Library\Nette; |
| 11 | /** |
| 12 | * Nette\Object behaviour mixin. |
| 13 | * @deprecated |
| 14 | */ |
| 15 | final class ObjectMixin |
| 16 | { |
| 17 | use Nette\StaticClass; |
| 18 | /** @deprecated use ObjectHelpers::getSuggestion() */ |
| 19 | public static function getSuggestion(array $possibilities, string $value): ?string |
| 20 | { |
| 21 | trigger_error(__METHOD__ . '() has been renamed to Nette\Utils\ObjectHelpers::getSuggestion()', \E_USER_DEPRECATED); |
| 22 | return ObjectHelpers::getSuggestion($possibilities, $value); |
| 23 | } |
| 24 | public static function setExtensionMethod(): void |
| 25 | { |
| 26 | trigger_error('Class Nette\Utils\ObjectMixin is deprecated', \E_USER_DEPRECATED); |
| 27 | } |
| 28 | public static function getExtensionMethod(): void |
| 29 | { |
| 30 | trigger_error('Class Nette\Utils\ObjectMixin is deprecated', \E_USER_DEPRECATED); |
| 31 | } |
| 32 | } |
| 33 |