ILIAS  release_7 Revision v7.30-3-g800a261c036
NullProviderFactory.php
Go to the documentation of this file.
1<?php
2
19declare(strict_types=1);
21
24
30{
34 public function getModificationProvider() : array
35 {
36 return [];
37 }
38
42 public function getMainBarProvider() : array
43 {
44 return [];
45 }
46
51 {
52 return new NullItemInformation();
53 }
54
58 public function getToolProvider() : array
59 {
60 return [];
61 }
62
66 public function getMetaBarProvider() : array
67 {
68 return [];
69 }
70
74 public function getNotificationsProvider() : array
75 {
76 return [];
77 }
78
82 public function getProviderByClassName(string $class_name) : Provider
83 {
84 return new NullProvider();
85 }
86
90 public function isInstanceCreationPossible(string $class_name) : bool
91 {
92 return false;
93 }
94
98 public function isRegistered(string $class_name) : bool
99 {
100 return false;
101 }
102}
An exception for terminatinating execution or to throw for unit testing.
getProviderByClassName(string $class_name)
@inheritDoc
isInstanceCreationPossible(string $class_name)
@inheritDoc