Skip to content

Commit

Permalink
make consts explicitly public
Browse files Browse the repository at this point in the history
  • Loading branch information
prolic committed Dec 10, 2016
1 parent cdd512c commit c2281eb
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 17 deletions.
16 changes: 8 additions & 8 deletions src/ActionEventEmitterEventStore.php
Expand Up @@ -16,14 +16,14 @@

interface ActionEventEmitterEventStore extends EventStore
{
const EVENT_APPEND_TO = 'appendTo';
const EVENT_CREATE = 'create';
const EVENT_LOAD = 'load';
const EVENT_LOAD_REVERSE = 'loadReverse';
const EVENT_DELETE = 'delete';
const EVENT_HAS_STREAM = 'hasStream';
const EVENT_FETCH_STREAM_METADATA = 'fetchStreamMetadata';
const EVENT_UPDATE_STREAM_METADATA = 'updateStreamMetadata';
public const EVENT_APPEND_TO = 'appendTo';
public const EVENT_CREATE = 'create';
public const EVENT_LOAD = 'load';
public const EVENT_LOAD_REVERSE = 'loadReverse';
public const EVENT_DELETE = 'delete';
public const EVENT_HAS_STREAM = 'hasStream';
public const EVENT_FETCH_STREAM_METADATA = 'fetchStreamMetadata';
public const EVENT_UPDATE_STREAM_METADATA = 'updateStreamMetadata';

public function getActionEventEmitter(): ActionEventEmitter;
}
12 changes: 6 additions & 6 deletions src/Metadata/Operator.php
Expand Up @@ -24,10 +24,10 @@
*/
class Operator extends Enum
{
const EQUALS = '=';
const GREATER_THAN = '>';
const GREATER_THAN_EQUALS = '>=';
const LOWER_THAN = '<';
const LOWER_THAN_EQUALS = '<=';
const NOT_EQUALS = '!=';
public const EQUALS = '=';
public const GREATER_THAN = '>';
public const GREATER_THAN_EQUALS = '>=';
public const LOWER_THAN = '<';
public const LOWER_THAN_EQUALS = '<=';
public const NOT_EQUALS = '!=';
}
6 changes: 3 additions & 3 deletions src/TransactionalActionEventEmitterEventStore.php
Expand Up @@ -16,7 +16,7 @@ interface TransactionalActionEventEmitterEventStore extends
ActionEventEmitterEventStore,
TransactionalEventStore
{
const EVENT_BEGIN_TRANSACTION = 'beginTransaction';
const EVENT_COMMIT = 'commit';
const EVENT_ROLLBACK = 'rollback';
public const EVENT_BEGIN_TRANSACTION = 'beginTransaction';
public const EVENT_COMMIT = 'commit';
public const EVENT_ROLLBACK = 'rollback';
}

0 comments on commit c2281eb

Please sign in to comment.