Skip to content

Commit

Permalink
move PersistentSubscription-* classes out of internal folder + namesp…
Browse files Browse the repository at this point in the history
…ace (#407)
  • Loading branch information
prolic committed Jun 2, 2020
1 parent 5053a88 commit b4a5454
Show file tree
Hide file tree
Showing 8 changed files with 15 additions and 24 deletions.
6 changes: 3 additions & 3 deletions src/Async/EventStoreConnection.php
Expand Up @@ -22,11 +22,11 @@
use Prooph\EventStore\EventData;
use Prooph\EventStore\EventReadResult;
use Prooph\EventStore\EventStoreSubscription;
use Prooph\EventStore\Internal\PersistentSubscriptionCreateResult;
use Prooph\EventStore\Internal\PersistentSubscriptionDeleteResult;
use Prooph\EventStore\Internal\PersistentSubscriptionUpdateResult;
use Prooph\EventStore\ListenerHandler;
use Prooph\EventStore\PersistentSubscriptionCreateResult;
use Prooph\EventStore\PersistentSubscriptionDeleteResult;
use Prooph\EventStore\PersistentSubscriptionSettings;
use Prooph\EventStore\PersistentSubscriptionUpdateResult;
use Prooph\EventStore\Position;
use Prooph\EventStore\RawStreamMetadataResult;
use Prooph\EventStore\ResolvedEvent;
Expand Down
3 changes: 0 additions & 3 deletions src/EventStoreConnection.php
Expand Up @@ -14,9 +14,6 @@
namespace Prooph\EventStore;

use Closure;
use Prooph\EventStore\Internal\PersistentSubscriptionCreateResult;
use Prooph\EventStore\Internal\PersistentSubscriptionDeleteResult;
use Prooph\EventStore\Internal\PersistentSubscriptionUpdateResult;
use Throwable;

interface EventStoreConnection
Expand Down
Expand Up @@ -11,8 +11,9 @@

declare(strict_types=1);

namespace Prooph\EventStore\Internal;
namespace Prooph\EventStore;

/** @psalm-immutable */
class PersistentSubscriptionCreateResult
{
private PersistentSubscriptionCreateStatus $status;
Expand Down
Expand Up @@ -11,14 +11,11 @@

declare(strict_types=1);

namespace Prooph\EventStore\Internal;
namespace Prooph\EventStore;

use Prooph\EventStore\Exception\InvalidArgumentException;

/**
* @internal
* @psalm-immutable
*/
/** @psalm-immutable */
class PersistentSubscriptionCreateStatus
{
public const OPTIONS = [
Expand Down
Expand Up @@ -11,8 +11,9 @@

declare(strict_types=1);

namespace Prooph\EventStore\Internal;
namespace Prooph\EventStore;

/** @psalm-immutable */
class PersistentSubscriptionDeleteResult
{
private PersistentSubscriptionDeleteStatus $status;
Expand Down
Expand Up @@ -11,14 +11,11 @@

declare(strict_types=1);

namespace Prooph\EventStore\Internal;
namespace Prooph\EventStore;

use Prooph\EventStore\Exception\InvalidArgumentException;

/**
* @internal
* @psalm-immutable
*/
/** @psalm-immutable */
class PersistentSubscriptionDeleteStatus
{
public const OPTIONS = [
Expand Down
Expand Up @@ -11,8 +11,9 @@

declare(strict_types=1);

namespace Prooph\EventStore\Internal;
namespace Prooph\EventStore;

/** @psalm-immutable */
class PersistentSubscriptionUpdateResult
{
private PersistentSubscriptionUpdateStatus $status;
Expand Down
Expand Up @@ -11,14 +11,11 @@

declare(strict_types=1);

namespace Prooph\EventStore\Internal;
namespace Prooph\EventStore;

use Prooph\EventStore\Exception\InvalidArgumentException;

/**
* @internal
* @psalm-immutable
*/
/** @psalm-immutable */
class PersistentSubscriptionUpdateStatus
{
public const OPTIONS = [
Expand Down

0 comments on commit b4a5454

Please sign in to comment.