Rename Activities->ActivityEventHandlers

This commit is contained in:
Jeremy Dormitzer 2019-03-20 19:14:10 -04:00
parent 94a54eab5f
commit 737f691a4c
29 changed files with 65 additions and 65 deletions

View File

@ -1,6 +1,6 @@
<?php <?php
namespace ActivityPub\Activities; namespace ActivityPub\ActivityEventHandlers;
use ActivityPub\Objects\CollectionsService; use ActivityPub\Objects\CollectionsService;
use ActivityPub\Objects\ContextProvider; use ActivityPub\Objects\ContextProvider;

View File

@ -1,6 +1,6 @@
<?php <?php
namespace ActivityPub\Activities; namespace ActivityPub\ActivityEventHandlers;
use ActivityPub\Entities\ActivityPubObject; use ActivityPub\Entities\ActivityPubObject;
use Symfony\Component\EventDispatcher\Event; use Symfony\Component\EventDispatcher\Event;

View File

@ -1,6 +1,6 @@
<?php <?php
namespace ActivityPub\Activities; namespace ActivityPub\ActivityEventHandlers;
use ActivityPub\Objects\CollectionsService; use ActivityPub\Objects\CollectionsService;
use ActivityPub\Objects\ObjectsService; use ActivityPub\Objects\ObjectsService;

View File

@ -1,6 +1,6 @@
<?php <?php
namespace ActivityPub\Activities; namespace ActivityPub\ActivityEventHandlers;
use ActivityPub\Entities\ActivityPubObject; use ActivityPub\Entities\ActivityPubObject;
use ActivityPub\Objects\CollectionsService; use ActivityPub\Objects\CollectionsService;

View File

@ -1,6 +1,6 @@
<?php <?php
namespace ActivityPub\Activities; namespace ActivityPub\ActivityEventHandlers;
use ActivityPub\Objects\CollectionsService; use ActivityPub\Objects\CollectionsService;
use ActivityPub\Objects\IdProvider; use ActivityPub\Objects\IdProvider;

View File

@ -1,6 +1,6 @@
<?php <?php
namespace ActivityPub\Activities; namespace ActivityPub\ActivityEventHandlers;
use ActivityPub\Objects\ObjectsService; use ActivityPub\Objects\ObjectsService;
use ActivityPub\Utils\DateTimeProvider; use ActivityPub\Utils\DateTimeProvider;

View File

@ -1,6 +1,6 @@
<?php <?php
namespace ActivityPub\Activities; namespace ActivityPub\ActivityEventHandlers;
use ActivityPub\Objects\ContextProvider; use ActivityPub\Objects\ContextProvider;
use Symfony\Component\EventDispatcher\EventDispatcher; use Symfony\Component\EventDispatcher\EventDispatcher;

View File

@ -1,6 +1,6 @@
<?php <?php
namespace ActivityPub\Activities; namespace ActivityPub\ActivityEventHandlers;
class InboxActivityEvent extends ActivityEvent class InboxActivityEvent extends ActivityEvent
{ {

View File

@ -1,6 +1,6 @@
<?php <?php
namespace ActivityPub\Activities; namespace ActivityPub\ActivityEventHandlers;
use ActivityPub\Entities\ActivityPubObject; use ActivityPub\Entities\ActivityPubObject;
use ActivityPub\Objects\CollectionsService; use ActivityPub\Objects\CollectionsService;

View File

@ -1,6 +1,6 @@
<?php <?php
namespace ActivityPub\Activities; namespace ActivityPub\ActivityEventHandlers;
use ActivityPub\Entities\ActivityPubObject; use ActivityPub\Entities\ActivityPubObject;
use ActivityPub\Objects\ContextProvider; use ActivityPub\Objects\ContextProvider;

View File

@ -1,6 +1,6 @@
<?php <?php
namespace ActivityPub\Activities; namespace ActivityPub\ActivityEventHandlers;
class OutboxActivityEvent extends ActivityEvent class OutboxActivityEvent extends ActivityEvent
{ {

View File

@ -1,6 +1,6 @@
<?php <?php
namespace ActivityPub\Activities; namespace ActivityPub\ActivityEventHandlers;
use ActivityPub\Objects\CollectionsService; use ActivityPub\Objects\CollectionsService;
use ActivityPub\Objects\ObjectsService; use ActivityPub\Objects\ObjectsService;

View File

@ -1,6 +1,6 @@
<?php <?php
namespace ActivityPub\Activities; namespace ActivityPub\ActivityEventHandlers;
use ActivityPub\Objects\ObjectsService; use ActivityPub\Objects\ObjectsService;
use Symfony\Component\EventDispatcher\EventSubscriberInterface; use Symfony\Component\EventDispatcher\EventSubscriberInterface;

View File

@ -1,6 +1,6 @@
<?php <?php
namespace ActivityPub\Activities; namespace ActivityPub\ActivityEventHandlers;
use Symfony\Component\EventDispatcher\EventSubscriberInterface; use Symfony\Component\EventDispatcher\EventSubscriberInterface;
use Symfony\Component\HttpKernel\Exception\BadRequestHttpException; use Symfony\Component\HttpKernel\Exception\BadRequestHttpException;

View File

@ -4,14 +4,14 @@
namespace ActivityPub; namespace ActivityPub;
use ActivityPub\Activities\AcceptHandler; use ActivityPub\ActivityEventHandlers\AcceptHandler;
use ActivityPub\Activities\AddHandler; use ActivityPub\ActivityEventHandlers\AddHandler;
use ActivityPub\Activities\CreateHandler; use ActivityPub\ActivityEventHandlers\CreateHandler;
use ActivityPub\Activities\DeleteHandler; use ActivityPub\ActivityEventHandlers\DeleteHandler;
use ActivityPub\Activities\FollowHandler; use ActivityPub\ActivityEventHandlers\FollowHandler;
use ActivityPub\Activities\NonActivityHandler; use ActivityPub\ActivityEventHandlers\NonActivityHandler;
use ActivityPub\Activities\UpdateHandler; use ActivityPub\ActivityEventHandlers\UpdateHandler;
use ActivityPub\Activities\ValidationHandler; use ActivityPub\ActivityEventHandlers\ValidationHandler;
use ActivityPub\Auth\AuthListener; use ActivityPub\Auth\AuthListener;
use ActivityPub\Auth\SignatureListener; use ActivityPub\Auth\SignatureListener;
use ActivityPub\Config\ActivityPubConfig; use ActivityPub\Config\ActivityPubConfig;

View File

@ -4,14 +4,14 @@
namespace ActivityPub\Config; namespace ActivityPub\Config;
use ActivityPub\Activities\AcceptHandler; use ActivityPub\ActivityEventHandlers\AcceptHandler;
use ActivityPub\Activities\AddHandler; use ActivityPub\ActivityEventHandlers\AddHandler;
use ActivityPub\Activities\CreateHandler; use ActivityPub\ActivityEventHandlers\CreateHandler;
use ActivityPub\Activities\DeleteHandler; use ActivityPub\ActivityEventHandlers\DeleteHandler;
use ActivityPub\Activities\FollowHandler; use ActivityPub\ActivityEventHandlers\FollowHandler;
use ActivityPub\Activities\NonActivityHandler; use ActivityPub\ActivityEventHandlers\NonActivityHandler;
use ActivityPub\Activities\UpdateHandler; use ActivityPub\ActivityEventHandlers\UpdateHandler;
use ActivityPub\Activities\ValidationHandler; use ActivityPub\ActivityEventHandlers\ValidationHandler;
use ActivityPub\Auth\AuthListener; use ActivityPub\Auth\AuthListener;
use ActivityPub\Auth\AuthService; use ActivityPub\Auth\AuthService;
use ActivityPub\Auth\SignatureListener; use ActivityPub\Auth\SignatureListener;

View File

@ -2,8 +2,8 @@
namespace ActivityPub\Controllers; namespace ActivityPub\Controllers;
use ActivityPub\Activities\InboxActivityEvent; use ActivityPub\ActivityEventHandlers\InboxActivityEvent;
use ActivityPub\Activities\OutboxActivityEvent; use ActivityPub\ActivityEventHandlers\OutboxActivityEvent;
use ActivityPub\Entities\ActivityPubObject; use ActivityPub\Entities\ActivityPubObject;
use ActivityPub\Objects\ObjectsService; use ActivityPub\Objects\ObjectsService;
use Symfony\Component\EventDispatcher\EventDispatcher; use Symfony\Component\EventDispatcher\EventDispatcher;

View File

@ -2,9 +2,9 @@
namespace ActivityPub\Test\Activities; namespace ActivityPub\Test\Activities;
use ActivityPub\Activities\AcceptHandler; use ActivityPub\ActivityEventHandlers\AcceptHandler;
use ActivityPub\Activities\InboxActivityEvent; use ActivityPub\ActivityEventHandlers\InboxActivityEvent;
use ActivityPub\Activities\OutboxActivityEvent; use ActivityPub\ActivityEventHandlers\OutboxActivityEvent;
use ActivityPub\Objects\CollectionsService; use ActivityPub\Objects\CollectionsService;
use ActivityPub\Objects\ContextProvider; use ActivityPub\Objects\ContextProvider;
use ActivityPub\Objects\ObjectsService; use ActivityPub\Objects\ObjectsService;

View File

@ -2,9 +2,9 @@
namespace ActivityPub\Test\Activities; namespace ActivityPub\Test\Activities;
use ActivityPub\Activities\AddHandler; use ActivityPub\ActivityEventHandlers\AddHandler;
use ActivityPub\Activities\InboxActivityEvent; use ActivityPub\ActivityEventHandlers\InboxActivityEvent;
use ActivityPub\Activities\OutboxActivityEvent; use ActivityPub\ActivityEventHandlers\OutboxActivityEvent;
use ActivityPub\Objects\CollectionsService; use ActivityPub\Objects\CollectionsService;
use ActivityPub\Objects\ObjectsService; use ActivityPub\Objects\ObjectsService;
use ActivityPub\Test\TestConfig\APTestCase; use ActivityPub\Test\TestConfig\APTestCase;

View File

@ -2,8 +2,8 @@
namespace ActivityPub\Test\Activities; namespace ActivityPub\Test\Activities;
use ActivityPub\Activities\AnnounceHandler; use ActivityPub\ActivityEventHandlers\AnnounceHandler;
use ActivityPub\Activities\InboxActivityEvent; use ActivityPub\ActivityEventHandlers\InboxActivityEvent;
use ActivityPub\Objects\CollectionsService; use ActivityPub\Objects\CollectionsService;
use ActivityPub\Objects\ContextProvider; use ActivityPub\Objects\ContextProvider;
use ActivityPub\Objects\ObjectsService; use ActivityPub\Objects\ObjectsService;

View File

@ -2,9 +2,9 @@
namespace ActivityPub\Test\Activities; namespace ActivityPub\Test\Activities;
use ActivityPub\Activities\CreateHandler; use ActivityPub\ActivityEventHandlers\CreateHandler;
use ActivityPub\Activities\InboxActivityEvent; use ActivityPub\ActivityEventHandlers\InboxActivityEvent;
use ActivityPub\Activities\OutboxActivityEvent; use ActivityPub\ActivityEventHandlers\OutboxActivityEvent;
use ActivityPub\Auth\AuthService; use ActivityPub\Auth\AuthService;
use ActivityPub\Objects\CollectionsService; use ActivityPub\Objects\CollectionsService;
use ActivityPub\Objects\ContextProvider; use ActivityPub\Objects\ContextProvider;

View File

@ -2,9 +2,9 @@
namespace ActivityPub\Test\Activities; namespace ActivityPub\Test\Activities;
use ActivityPub\Activities\DeleteHandler; use ActivityPub\ActivityEventHandlers\DeleteHandler;
use ActivityPub\Activities\InboxActivityEvent; use ActivityPub\ActivityEventHandlers\InboxActivityEvent;
use ActivityPub\Activities\OutboxActivityEvent; use ActivityPub\ActivityEventHandlers\OutboxActivityEvent;
use ActivityPub\Objects\ObjectsService; use ActivityPub\Objects\ObjectsService;
use ActivityPub\Test\TestConfig\APTestCase; use ActivityPub\Test\TestConfig\APTestCase;
use ActivityPub\Test\TestUtils\TestActivityPubObject; use ActivityPub\Test\TestUtils\TestActivityPubObject;

View File

@ -2,9 +2,9 @@
namespace ActivityPub\Test\Activities; namespace ActivityPub\Test\Activities;
use ActivityPub\Activities\FollowHandler; use ActivityPub\ActivityEventHandlers\FollowHandler;
use ActivityPub\Activities\InboxActivityEvent; use ActivityPub\ActivityEventHandlers\InboxActivityEvent;
use ActivityPub\Activities\OutboxActivityEvent; use ActivityPub\ActivityEventHandlers\OutboxActivityEvent;
use ActivityPub\Objects\ContextProvider; use ActivityPub\Objects\ContextProvider;
use ActivityPub\Test\TestConfig\APTestCase; use ActivityPub\Test\TestConfig\APTestCase;
use ActivityPub\Test\TestUtils\TestActivityPubObject; use ActivityPub\Test\TestUtils\TestActivityPubObject;

View File

@ -2,9 +2,9 @@
namespace ActivityPub\Test\Activities; namespace ActivityPub\Test\Activities;
use ActivityPub\Activities\InboxActivityEvent; use ActivityPub\ActivityEventHandlers\InboxActivityEvent;
use ActivityPub\Activities\LikeHandler; use ActivityPub\ActivityEventHandlers\LikeHandler;
use ActivityPub\Activities\OutboxActivityEvent; use ActivityPub\ActivityEventHandlers\OutboxActivityEvent;
use ActivityPub\Objects\CollectionsService; use ActivityPub\Objects\CollectionsService;
use ActivityPub\Objects\ContextProvider; use ActivityPub\Objects\ContextProvider;
use ActivityPub\Objects\ObjectsService; use ActivityPub\Objects\ObjectsService;

View File

@ -2,8 +2,8 @@
namespace ActivityPub\Test\Activities; namespace ActivityPub\Test\Activities;
use ActivityPub\Activities\NonActivityHandler; use ActivityPub\ActivityEventHandlers\NonActivityHandler;
use ActivityPub\Activities\OutboxActivityEvent; use ActivityPub\ActivityEventHandlers\OutboxActivityEvent;
use ActivityPub\Objects\ContextProvider; use ActivityPub\Objects\ContextProvider;
use ActivityPub\Test\TestConfig\APTestCase; use ActivityPub\Test\TestConfig\APTestCase;
use ActivityPub\Test\TestUtils\TestActivityPubObject; use ActivityPub\Test\TestUtils\TestActivityPubObject;

View File

@ -2,9 +2,9 @@
namespace ActivityPub\Test\Activities; namespace ActivityPub\Test\Activities;
use ActivityPub\Activities\InboxActivityEvent; use ActivityPub\ActivityEventHandlers\InboxActivityEvent;
use ActivityPub\Activities\OutboxActivityEvent; use ActivityPub\ActivityEventHandlers\OutboxActivityEvent;
use ActivityPub\Activities\RemoveHandler; use ActivityPub\ActivityEventHandlers\RemoveHandler;
use ActivityPub\Objects\CollectionsService; use ActivityPub\Objects\CollectionsService;
use ActivityPub\Objects\ObjectsService; use ActivityPub\Objects\ObjectsService;
use ActivityPub\Test\TestConfig\APTestCase; use ActivityPub\Test\TestConfig\APTestCase;

View File

@ -2,9 +2,9 @@
namespace ActivityPub\Test\Activities; namespace ActivityPub\Test\Activities;
use ActivityPub\Activities\InboxActivityEvent; use ActivityPub\ActivityEventHandlers\InboxActivityEvent;
use ActivityPub\Activities\OutboxActivityEvent; use ActivityPub\ActivityEventHandlers\OutboxActivityEvent;
use ActivityPub\Activities\UpdateHandler; use ActivityPub\ActivityEventHandlers\UpdateHandler;
use ActivityPub\Objects\ObjectsService; use ActivityPub\Objects\ObjectsService;
use ActivityPub\Test\TestConfig\APTestCase; use ActivityPub\Test\TestConfig\APTestCase;
use ActivityPub\Test\TestUtils\TestActivityPubObject; use ActivityPub\Test\TestUtils\TestActivityPubObject;

View File

@ -2,9 +2,9 @@
namespace ActivityPub\Test\Activities; namespace ActivityPub\Test\Activities;
use ActivityPub\Activities\InboxActivityEvent; use ActivityPub\ActivityEventHandlers\InboxActivityEvent;
use ActivityPub\Activities\OutboxActivityEvent; use ActivityPub\ActivityEventHandlers\OutboxActivityEvent;
use ActivityPub\Activities\ValidationHandler; use ActivityPub\ActivityEventHandlers\ValidationHandler;
use ActivityPub\Test\TestConfig\APTestCase; use ActivityPub\Test\TestConfig\APTestCase;
use ActivityPub\Test\TestUtils\TestActivityPubObject; use ActivityPub\Test\TestUtils\TestActivityPubObject;
use Symfony\Component\EventDispatcher\EventDispatcher; use Symfony\Component\EventDispatcher\EventDispatcher;

View File

@ -2,8 +2,8 @@
namespace ActivityPub\Test\Controllers; namespace ActivityPub\Test\Controllers;
use ActivityPub\Activities\InboxActivityEvent; use ActivityPub\ActivityEventHandlers\InboxActivityEvent;
use ActivityPub\Activities\OutboxActivityEvent; use ActivityPub\ActivityEventHandlers\OutboxActivityEvent;
use ActivityPub\Controllers\PostController; use ActivityPub\Controllers\PostController;
use ActivityPub\Objects\ObjectsService; use ActivityPub\Objects\ObjectsService;
use ActivityPub\Test\TestConfig\APTestCase; use ActivityPub\Test\TestConfig\APTestCase;