forked from FriendsOfCake/crud
-
Notifications
You must be signed in to change notification settings - Fork 0
/
aliases.php
28 lines (25 loc) · 809 Bytes
/
aliases.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
<?php
if (!class_exists('Cake\Http\Exception\MethodNotAllowedException')) {
class_alias(
'Cake\Network\Exception\MethodNotAllowedException',
'Cake\Http\Exception\MethodNotAllowedException'
);
}
if (!class_exists('Cake\Http\Exception\NotImplementedException')) {
class_alias(
'Cake\Network\Exception\NotImplementedException',
'Cake\Http\Exception\NotImplementedException'
);
}
if (!class_exists('Cake\Http\Exception\BadRequestException')) {
class_alias(
'Cake\Network\Exception\BadRequestException',
'Cake\Http\Exception\BadRequestException'
);
}
if (!class_exists('Cake\Http\Exception\NotFoundException')) {
class_alias(
'Cake\Network\Exception\NotFoundException',
'Cake\Http\Exception\NotFoundException'
);
}