aboutsummaryrefslogtreecommitdiffhomepage
path: root/api/Posts/Events/PostWasUpdated.php
blob: 441e884ee4e28e1c22ffed0d57dff9334e3678ad (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 PostWasUpdated extends Event
{
    public $post;

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