mirror of
https://github.com/ad-aures/castopod.git
synced 2026-04-13 03:27:45 +02:00
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:
parent
94872f2338
commit
5083cd2fda
268 changed files with 4221 additions and 2186 deletions
|
|
@ -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);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue