ILIAS  release_6 Revision v6.24-5-g0c8bfefb3b8
NullProviderFactory.php
Go to the documentation of this file.
2
4
11{
12
16 public function getModificationProvider() : array
17 {
18 return [];
19 }
20
21
25 public function getMainBarProvider() : array
26 {
27 return [];
28 }
29
30
35 {
36 return null;
37 }
38
39
43 public function getToolProvider() : array
44 {
45 return [];
46 }
47
48
52 public function getMetaBarProvider() : array
53 {
54 return [];
55 }
56
57
61 public function getNotificationsProvider() : array
62 {
63 return [];
64 }
65
66
70 public function getProviderByClassName(string $class_name) : Provider
71 {
72 // return new NullP;
73 }
74
75
79 public function isInstanceCreationPossible(string $class_name) : bool
80 {
81 return false;
82 }
83
84
88 public function isRegistered(string $class_name) : bool
89 {
90 return false;
91 }
92}
An exception for terminatinating execution or to throw for unit testing.
getProviderByClassName(string $class_name)
@inheritDoc
isInstanceCreationPossible(string $class_name)
@inheritDoc