ILIAS  release_5-4 Revision v5.4.26-12-gabc799a52e6
NullProviderFactory.php
Go to the documentation of this file.
2
4
11{
12
16 public function getMainBarProvider() : array
17 {
18 return [];
19 }
20
21
26 {
27 return null;
28 }
29
30
34 public function getProviderByClassName(string $class_name) : Provider
35 {
36 // return new NullP;
37 }
38
39
43 public function isInstanceCreationPossible(string $class_name) : bool
44 {
45 return false;
46 }
47
48
52 public function isRegistered(string $class_name) : bool
53 {
54 return false;
55 }
56}
An exception for terminatinating execution or to throw for unit testing.
getProviderByClassName(string $class_name)
@inheritDoc
isInstanceCreationPossible(string $class_name)
@inheritDoc