Rename Activities->ActivityEventHandlers
This commit is contained in:
parent
94a54eab5f
commit
737f691a4c
@ -1,6 +1,6 @@
|
||||
<?php
|
||||
|
||||
namespace ActivityPub\Activities;
|
||||
namespace ActivityPub\ActivityEventHandlers;
|
||||
|
||||
use ActivityPub\Objects\CollectionsService;
|
||||
use ActivityPub\Objects\ContextProvider;
|
@ -1,6 +1,6 @@
|
||||
<?php
|
||||
|
||||
namespace ActivityPub\Activities;
|
||||
namespace ActivityPub\ActivityEventHandlers;
|
||||
|
||||
use ActivityPub\Entities\ActivityPubObject;
|
||||
use Symfony\Component\EventDispatcher\Event;
|
@ -1,6 +1,6 @@
|
||||
<?php
|
||||
|
||||
namespace ActivityPub\Activities;
|
||||
namespace ActivityPub\ActivityEventHandlers;
|
||||
|
||||
use ActivityPub\Objects\CollectionsService;
|
||||
use ActivityPub\Objects\ObjectsService;
|
@ -1,6 +1,6 @@
|
||||
<?php
|
||||
|
||||
namespace ActivityPub\Activities;
|
||||
namespace ActivityPub\ActivityEventHandlers;
|
||||
|
||||
use ActivityPub\Entities\ActivityPubObject;
|
||||
use ActivityPub\Objects\CollectionsService;
|
@ -1,6 +1,6 @@
|
||||
<?php
|
||||
|
||||
namespace ActivityPub\Activities;
|
||||
namespace ActivityPub\ActivityEventHandlers;
|
||||
|
||||
use ActivityPub\Objects\CollectionsService;
|
||||
use ActivityPub\Objects\IdProvider;
|
@ -1,6 +1,6 @@
|
||||
<?php
|
||||
|
||||
namespace ActivityPub\Activities;
|
||||
namespace ActivityPub\ActivityEventHandlers;
|
||||
|
||||
use ActivityPub\Objects\ObjectsService;
|
||||
use ActivityPub\Utils\DateTimeProvider;
|
@ -1,6 +1,6 @@
|
||||
<?php
|
||||
|
||||
namespace ActivityPub\Activities;
|
||||
namespace ActivityPub\ActivityEventHandlers;
|
||||
|
||||
use ActivityPub\Objects\ContextProvider;
|
||||
use Symfony\Component\EventDispatcher\EventDispatcher;
|
@ -1,6 +1,6 @@
|
||||
<?php
|
||||
|
||||
namespace ActivityPub\Activities;
|
||||
namespace ActivityPub\ActivityEventHandlers;
|
||||
|
||||
class InboxActivityEvent extends ActivityEvent
|
||||
{
|
@ -1,6 +1,6 @@
|
||||
<?php
|
||||
|
||||
namespace ActivityPub\Activities;
|
||||
namespace ActivityPub\ActivityEventHandlers;
|
||||
|
||||
use ActivityPub\Entities\ActivityPubObject;
|
||||
use ActivityPub\Objects\CollectionsService;
|
@ -1,6 +1,6 @@
|
||||
<?php
|
||||
|
||||
namespace ActivityPub\Activities;
|
||||
namespace ActivityPub\ActivityEventHandlers;
|
||||
|
||||
use ActivityPub\Entities\ActivityPubObject;
|
||||
use ActivityPub\Objects\ContextProvider;
|
@ -1,6 +1,6 @@
|
||||
<?php
|
||||
|
||||
namespace ActivityPub\Activities;
|
||||
namespace ActivityPub\ActivityEventHandlers;
|
||||
|
||||
class OutboxActivityEvent extends ActivityEvent
|
||||
{
|
@ -1,6 +1,6 @@
|
||||
<?php
|
||||
|
||||
namespace ActivityPub\Activities;
|
||||
namespace ActivityPub\ActivityEventHandlers;
|
||||
|
||||
use ActivityPub\Objects\CollectionsService;
|
||||
use ActivityPub\Objects\ObjectsService;
|
@ -1,6 +1,6 @@
|
||||
<?php
|
||||
|
||||
namespace ActivityPub\Activities;
|
||||
namespace ActivityPub\ActivityEventHandlers;
|
||||
|
||||
use ActivityPub\Objects\ObjectsService;
|
||||
use Symfony\Component\EventDispatcher\EventSubscriberInterface;
|
@ -1,6 +1,6 @@
|
||||
<?php
|
||||
|
||||
namespace ActivityPub\Activities;
|
||||
namespace ActivityPub\ActivityEventHandlers;
|
||||
|
||||
use Symfony\Component\EventDispatcher\EventSubscriberInterface;
|
||||
use Symfony\Component\HttpKernel\Exception\BadRequestHttpException;
|
@ -4,14 +4,14 @@
|
||||
|
||||
namespace ActivityPub;
|
||||
|
||||
use ActivityPub\Activities\AcceptHandler;
|
||||
use ActivityPub\Activities\AddHandler;
|
||||
use ActivityPub\Activities\CreateHandler;
|
||||
use ActivityPub\Activities\DeleteHandler;
|
||||
use ActivityPub\Activities\FollowHandler;
|
||||
use ActivityPub\Activities\NonActivityHandler;
|
||||
use ActivityPub\Activities\UpdateHandler;
|
||||
use ActivityPub\Activities\ValidationHandler;
|
||||
use ActivityPub\ActivityEventHandlers\AcceptHandler;
|
||||
use ActivityPub\ActivityEventHandlers\AddHandler;
|
||||
use ActivityPub\ActivityEventHandlers\CreateHandler;
|
||||
use ActivityPub\ActivityEventHandlers\DeleteHandler;
|
||||
use ActivityPub\ActivityEventHandlers\FollowHandler;
|
||||
use ActivityPub\ActivityEventHandlers\NonActivityHandler;
|
||||
use ActivityPub\ActivityEventHandlers\UpdateHandler;
|
||||
use ActivityPub\ActivityEventHandlers\ValidationHandler;
|
||||
use ActivityPub\Auth\AuthListener;
|
||||
use ActivityPub\Auth\SignatureListener;
|
||||
use ActivityPub\Config\ActivityPubConfig;
|
||||
|
@ -4,14 +4,14 @@
|
||||
|
||||
namespace ActivityPub\Config;
|
||||
|
||||
use ActivityPub\Activities\AcceptHandler;
|
||||
use ActivityPub\Activities\AddHandler;
|
||||
use ActivityPub\Activities\CreateHandler;
|
||||
use ActivityPub\Activities\DeleteHandler;
|
||||
use ActivityPub\Activities\FollowHandler;
|
||||
use ActivityPub\Activities\NonActivityHandler;
|
||||
use ActivityPub\Activities\UpdateHandler;
|
||||
use ActivityPub\Activities\ValidationHandler;
|
||||
use ActivityPub\ActivityEventHandlers\AcceptHandler;
|
||||
use ActivityPub\ActivityEventHandlers\AddHandler;
|
||||
use ActivityPub\ActivityEventHandlers\CreateHandler;
|
||||
use ActivityPub\ActivityEventHandlers\DeleteHandler;
|
||||
use ActivityPub\ActivityEventHandlers\FollowHandler;
|
||||
use ActivityPub\ActivityEventHandlers\NonActivityHandler;
|
||||
use ActivityPub\ActivityEventHandlers\UpdateHandler;
|
||||
use ActivityPub\ActivityEventHandlers\ValidationHandler;
|
||||
use ActivityPub\Auth\AuthListener;
|
||||
use ActivityPub\Auth\AuthService;
|
||||
use ActivityPub\Auth\SignatureListener;
|
||||
|
@ -2,8 +2,8 @@
|
||||
|
||||
namespace ActivityPub\Controllers;
|
||||
|
||||
use ActivityPub\Activities\InboxActivityEvent;
|
||||
use ActivityPub\Activities\OutboxActivityEvent;
|
||||
use ActivityPub\ActivityEventHandlers\InboxActivityEvent;
|
||||
use ActivityPub\ActivityEventHandlers\OutboxActivityEvent;
|
||||
use ActivityPub\Entities\ActivityPubObject;
|
||||
use ActivityPub\Objects\ObjectsService;
|
||||
use Symfony\Component\EventDispatcher\EventDispatcher;
|
||||
|
@ -2,9 +2,9 @@
|
||||
|
||||
namespace ActivityPub\Test\Activities;
|
||||
|
||||
use ActivityPub\Activities\AcceptHandler;
|
||||
use ActivityPub\Activities\InboxActivityEvent;
|
||||
use ActivityPub\Activities\OutboxActivityEvent;
|
||||
use ActivityPub\ActivityEventHandlers\AcceptHandler;
|
||||
use ActivityPub\ActivityEventHandlers\InboxActivityEvent;
|
||||
use ActivityPub\ActivityEventHandlers\OutboxActivityEvent;
|
||||
use ActivityPub\Objects\CollectionsService;
|
||||
use ActivityPub\Objects\ContextProvider;
|
||||
use ActivityPub\Objects\ObjectsService;
|
||||
|
@ -2,9 +2,9 @@
|
||||
|
||||
namespace ActivityPub\Test\Activities;
|
||||
|
||||
use ActivityPub\Activities\AddHandler;
|
||||
use ActivityPub\Activities\InboxActivityEvent;
|
||||
use ActivityPub\Activities\OutboxActivityEvent;
|
||||
use ActivityPub\ActivityEventHandlers\AddHandler;
|
||||
use ActivityPub\ActivityEventHandlers\InboxActivityEvent;
|
||||
use ActivityPub\ActivityEventHandlers\OutboxActivityEvent;
|
||||
use ActivityPub\Objects\CollectionsService;
|
||||
use ActivityPub\Objects\ObjectsService;
|
||||
use ActivityPub\Test\TestConfig\APTestCase;
|
||||
|
@ -2,8 +2,8 @@
|
||||
|
||||
namespace ActivityPub\Test\Activities;
|
||||
|
||||
use ActivityPub\Activities\AnnounceHandler;
|
||||
use ActivityPub\Activities\InboxActivityEvent;
|
||||
use ActivityPub\ActivityEventHandlers\AnnounceHandler;
|
||||
use ActivityPub\ActivityEventHandlers\InboxActivityEvent;
|
||||
use ActivityPub\Objects\CollectionsService;
|
||||
use ActivityPub\Objects\ContextProvider;
|
||||
use ActivityPub\Objects\ObjectsService;
|
||||
|
@ -2,9 +2,9 @@
|
||||
|
||||
namespace ActivityPub\Test\Activities;
|
||||
|
||||
use ActivityPub\Activities\CreateHandler;
|
||||
use ActivityPub\Activities\InboxActivityEvent;
|
||||
use ActivityPub\Activities\OutboxActivityEvent;
|
||||
use ActivityPub\ActivityEventHandlers\CreateHandler;
|
||||
use ActivityPub\ActivityEventHandlers\InboxActivityEvent;
|
||||
use ActivityPub\ActivityEventHandlers\OutboxActivityEvent;
|
||||
use ActivityPub\Auth\AuthService;
|
||||
use ActivityPub\Objects\CollectionsService;
|
||||
use ActivityPub\Objects\ContextProvider;
|
||||
|
@ -2,9 +2,9 @@
|
||||
|
||||
namespace ActivityPub\Test\Activities;
|
||||
|
||||
use ActivityPub\Activities\DeleteHandler;
|
||||
use ActivityPub\Activities\InboxActivityEvent;
|
||||
use ActivityPub\Activities\OutboxActivityEvent;
|
||||
use ActivityPub\ActivityEventHandlers\DeleteHandler;
|
||||
use ActivityPub\ActivityEventHandlers\InboxActivityEvent;
|
||||
use ActivityPub\ActivityEventHandlers\OutboxActivityEvent;
|
||||
use ActivityPub\Objects\ObjectsService;
|
||||
use ActivityPub\Test\TestConfig\APTestCase;
|
||||
use ActivityPub\Test\TestUtils\TestActivityPubObject;
|
||||
|
@ -2,9 +2,9 @@
|
||||
|
||||
namespace ActivityPub\Test\Activities;
|
||||
|
||||
use ActivityPub\Activities\FollowHandler;
|
||||
use ActivityPub\Activities\InboxActivityEvent;
|
||||
use ActivityPub\Activities\OutboxActivityEvent;
|
||||
use ActivityPub\ActivityEventHandlers\FollowHandler;
|
||||
use ActivityPub\ActivityEventHandlers\InboxActivityEvent;
|
||||
use ActivityPub\ActivityEventHandlers\OutboxActivityEvent;
|
||||
use ActivityPub\Objects\ContextProvider;
|
||||
use ActivityPub\Test\TestConfig\APTestCase;
|
||||
use ActivityPub\Test\TestUtils\TestActivityPubObject;
|
||||
|
@ -2,9 +2,9 @@
|
||||
|
||||
namespace ActivityPub\Test\Activities;
|
||||
|
||||
use ActivityPub\Activities\InboxActivityEvent;
|
||||
use ActivityPub\Activities\LikeHandler;
|
||||
use ActivityPub\Activities\OutboxActivityEvent;
|
||||
use ActivityPub\ActivityEventHandlers\InboxActivityEvent;
|
||||
use ActivityPub\ActivityEventHandlers\LikeHandler;
|
||||
use ActivityPub\ActivityEventHandlers\OutboxActivityEvent;
|
||||
use ActivityPub\Objects\CollectionsService;
|
||||
use ActivityPub\Objects\ContextProvider;
|
||||
use ActivityPub\Objects\ObjectsService;
|
||||
|
@ -2,8 +2,8 @@
|
||||
|
||||
namespace ActivityPub\Test\Activities;
|
||||
|
||||
use ActivityPub\Activities\NonActivityHandler;
|
||||
use ActivityPub\Activities\OutboxActivityEvent;
|
||||
use ActivityPub\ActivityEventHandlers\NonActivityHandler;
|
||||
use ActivityPub\ActivityEventHandlers\OutboxActivityEvent;
|
||||
use ActivityPub\Objects\ContextProvider;
|
||||
use ActivityPub\Test\TestConfig\APTestCase;
|
||||
use ActivityPub\Test\TestUtils\TestActivityPubObject;
|
||||
|
@ -2,9 +2,9 @@
|
||||
|
||||
namespace ActivityPub\Test\Activities;
|
||||
|
||||
use ActivityPub\Activities\InboxActivityEvent;
|
||||
use ActivityPub\Activities\OutboxActivityEvent;
|
||||
use ActivityPub\Activities\RemoveHandler;
|
||||
use ActivityPub\ActivityEventHandlers\InboxActivityEvent;
|
||||
use ActivityPub\ActivityEventHandlers\OutboxActivityEvent;
|
||||
use ActivityPub\ActivityEventHandlers\RemoveHandler;
|
||||
use ActivityPub\Objects\CollectionsService;
|
||||
use ActivityPub\Objects\ObjectsService;
|
||||
use ActivityPub\Test\TestConfig\APTestCase;
|
||||
|
@ -2,9 +2,9 @@
|
||||
|
||||
namespace ActivityPub\Test\Activities;
|
||||
|
||||
use ActivityPub\Activities\InboxActivityEvent;
|
||||
use ActivityPub\Activities\OutboxActivityEvent;
|
||||
use ActivityPub\Activities\UpdateHandler;
|
||||
use ActivityPub\ActivityEventHandlers\InboxActivityEvent;
|
||||
use ActivityPub\ActivityEventHandlers\OutboxActivityEvent;
|
||||
use ActivityPub\ActivityEventHandlers\UpdateHandler;
|
||||
use ActivityPub\Objects\ObjectsService;
|
||||
use ActivityPub\Test\TestConfig\APTestCase;
|
||||
use ActivityPub\Test\TestUtils\TestActivityPubObject;
|
||||
|
@ -2,9 +2,9 @@
|
||||
|
||||
namespace ActivityPub\Test\Activities;
|
||||
|
||||
use ActivityPub\Activities\InboxActivityEvent;
|
||||
use ActivityPub\Activities\OutboxActivityEvent;
|
||||
use ActivityPub\Activities\ValidationHandler;
|
||||
use ActivityPub\ActivityEventHandlers\InboxActivityEvent;
|
||||
use ActivityPub\ActivityEventHandlers\OutboxActivityEvent;
|
||||
use ActivityPub\ActivityEventHandlers\ValidationHandler;
|
||||
use ActivityPub\Test\TestConfig\APTestCase;
|
||||
use ActivityPub\Test\TestUtils\TestActivityPubObject;
|
||||
use Symfony\Component\EventDispatcher\EventDispatcher;
|
||||
|
@ -2,8 +2,8 @@
|
||||
|
||||
namespace ActivityPub\Test\Controllers;
|
||||
|
||||
use ActivityPub\Activities\InboxActivityEvent;
|
||||
use ActivityPub\Activities\OutboxActivityEvent;
|
||||
use ActivityPub\ActivityEventHandlers\InboxActivityEvent;
|
||||
use ActivityPub\ActivityEventHandlers\OutboxActivityEvent;
|
||||
use ActivityPub\Controllers\PostController;
|
||||
use ActivityPub\Objects\ObjectsService;
|
||||
use ActivityPub\Test\TestConfig\APTestCase;
|
||||
|
Loading…
Reference in New Issue
Block a user