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; } }