for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php namespace Modules\Media\Events;
use Modules\Media\Entities\File;
class FileWasLinked
{
/**
* @var File
*/
public $file;
* The entity that was linked to a file
* @var object
public $entity;
* @param File $file
* @param object $entity
public function __construct(File $file, $entity)
$this->file = $file;
$this->entity = $entity;
}