aboutsummaryrefslogtreecommitdiffhomepage
path: root/api/Posts/Events/PostWasDeleted.php
blob: 5def7974da3c57aa4f715957f78c443ab73b8fae (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
<?php

namespace Api\Posts\Events;

use Infrastructure\Events\Event;
use Api\Posts\Models\Post;

class PostWasDeleted extends Event
{
    public $post;

    public function __construct(Post $post)
    {
        $this->post = $post;
    }
}