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

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