File tree Expand file tree Collapse file tree 3 files changed +39
-0
lines changed Expand file tree Collapse file tree 3 files changed +39
-0
lines changed Original file line number Diff line number Diff line change 1+ /vendor /
Original file line number Diff line number Diff line change 1+ {
2+ "name" : " webarchitect609/bitrix-neverinclude" ,
3+ "description" : " Bitrix automatic module including" ,
4+ "authors" : [
5+ {
6+ "name" : " Sergey Gripinskiy" ,
7+ "email" : " web-architect@mail.ru"
8+ }
9+ ],
10+ "require" : {}
11+ }
Original file line number Diff line number Diff line change 1+ <?php
2+
3+
4+ namespace WebArch \NeverInclude ;
5+
6+ use RuntimeException ;
7+
8+ class NeverInclude
9+ {
10+ public function __construct ()
11+ {
12+ if (!spl_autoload_register ([$ this , 'autoloadModule ' ])) {
13+ throw new RuntimeException ('Error register autoloader ' . __CLASS__ );
14+ }
15+ }
16+
17+ private function autoloadModule ($ class )
18+ {
19+ /*
20+ * Кейсы:
21+ *
22+ */
23+
24+
25+
26+ }
27+ }
You can’t perform that action at this time.
0 commit comments