summaryrefslogtreecommitdiff
path: root/app/Event/ProjectFileEvent.php
blob: e1d29c483bce5cd00b4931ab52df990863f97ece (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
<?php

namespace Kanboard\Event;

class ProjectFileEvent extends GenericEvent
{
    public function getProjectId()
    {
        if (isset($this->container['file']['project_id'])) {
            return $this->container['file']['project_id'];
        }

        return null;
    }
}