1 | <?php |
||
28 | class HelperUtility |
||
29 | { |
||
30 | |||
31 | |||
32 | /** |
||
33 | * Get the query for the given class name oder object. |
||
34 | * |
||
35 | * @param string|object $objectName |
||
36 | * |
||
37 | * @return QueryInterface |
||
38 | * @throws \TYPO3\CMS\Extbase\Object\Exception |
||
39 | */ |
||
40 | public static function getQuery($objectName) |
||
51 | |||
52 | /** |
||
53 | * Get the signal slot dispatcher. |
||
54 | * |
||
55 | * @return Dispatcher |
||
56 | */ |
||
57 | public static function getSignalSlotDispatcher(): Dispatcher |
||
61 | |||
62 | /** |
||
63 | * Create a flash message. |
||
64 | * |
||
65 | * @param string $message |
||
66 | * @param string $title |
||
67 | * @param int $mode |
||
68 | * |
||
69 | * @throws Exception |
||
70 | */ |
||
71 | public static function createFlashMessage($message, $title = '', $mode = FlashMessage::OK) |
||
78 | |||
79 | /** |
||
80 | * Get the database connection. |
||
81 | * |
||
82 | * @param mixed $table |
||
83 | * |
||
84 | * @return Connection |
||
85 | */ |
||
86 | public static function getDatabaseConnection($table) |
||
90 | |||
91 | /** |
||
92 | * Persist all data. |
||
93 | */ |
||
94 | public static function persistAll() |
||
100 | } |
||
101 |
This check marks calls to methods that do not seem to exist on an object.
This is most likely the result of a method being renamed without all references to it being renamed likewise.