refactor(modules): extract castopod parts into a modules/ folder for a scalable HMVC structure

- create Admin, Analytics, Auth, Fediverse and Install modules in the root modules/ folder
- rename
ActivityPub to Fediverse
This commit is contained in:
Yassine Doghri 2021-08-23 11:05:16 +00:00
commit 5083cd2fda
268 changed files with 4221 additions and 2186 deletions

View file

@ -10,15 +10,15 @@ declare(strict_types=1);
namespace App\Libraries;
use ActivityPub\Objects\NoteObject as ActivityPubNoteObject;
use App\Entities\Post;
use Modules\Fediverse\Objects\NoteObject as ActivityPubNoteObject;
class NoteObject extends ActivityPubNoteObject
{
/**
* @param Post $post
*/
public function __construct(\ActivityPub\Entities\Post $post)
public function __construct($post)
{
parent::__construct($post);