This repository has been archived by the owner on Jan 29, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 122
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Close #41
- Loading branch information
Showing
5 changed files
with
54 additions
and
30 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
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
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,36 @@ | ||
<?php | ||
/** | ||
* Zend Framework (http://framework.zend.com/) | ||
* | ||
* @link http://github.com/zendframework/zf2 for the canonical source repository | ||
* @copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com) | ||
* @license http://framework.zend.com/license/new-bsd New BSD License | ||
*/ | ||
|
||
namespace Zend\Db\TableGateway\Feature; | ||
|
||
/** | ||
* EventFeature event constants. | ||
* | ||
* This moves the constants introduced in {@link https://github.com/zendframework/zf2/pull/7066} | ||
* into a separate interface that EventFeature implements; the change keeps | ||
* backwards compatibility, while simultaneously removing the need to add | ||
* another hard dependency to the component. | ||
*/ | ||
interface EventFeatureEventsInterface | ||
{ | ||
const EVENT_PRE_INITIALIZE = 'preInitialize'; | ||
const EVENT_POST_INITIALIZE = 'postInitialize'; | ||
|
||
const EVENT_PRE_SELECT = 'preSelect'; | ||
const EVENT_POST_SELECT = 'postSelect'; | ||
|
||
const EVENT_PRE_INSERT = 'preInsert'; | ||
const EVENT_POST_INSERT = 'postInsert'; | ||
|
||
const EVENT_PRE_DELETE = 'preDelete'; | ||
const EVENT_POST_DELETE = 'postDelete'; | ||
|
||
const EVENT_PRE_UPDATE = 'preUpdate'; | ||
const EVENT_POST_UPDATE = 'postUpdate'; | ||
} |