-
-
Notifications
You must be signed in to change notification settings - Fork 2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[#14213] - Added enum class for the dispatcher constants
- Loading branch information
Showing
2 changed files
with
32 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
|
||
/** | ||
* This file is part of the Phalcon Framework. | ||
* | ||
* (c) Phalcon Team <[email protected]> | ||
* | ||
* For the full copyright and license information, please view the LICENSE.txt | ||
* file that was distributed with this source code. | ||
*/ | ||
|
||
namespace Phalcon\Dispatcher; | ||
|
||
/** | ||
* Constants for the Dispatcher | ||
*/ | ||
class Enum | ||
{ | ||
const EXCEPTION_ACTION_NOT_FOUND = 5; | ||
const EXCEPTION_CYCLIC_ROUTING = 1; | ||
const EXCEPTION_HANDLER_NOT_FOUND = 2; | ||
const EXCEPTION_INVALID_HANDLER = 3; | ||
const EXCEPTION_INVALID_PARAMS = 4; | ||
const EXCEPTION_NO_DI = 0; | ||
} |