first commit
Some checks failed
Build / run (push) Has been cancelled

This commit is contained in:
maher
2025-10-29 11:42:25 +01:00
commit 703f50a09d
4595 changed files with 385164 additions and 0 deletions

View File

@@ -0,0 +1,26 @@
<?php
namespace Common\Files\Events;
class FileEntriesDeleted
{
/**
* @var array
*/
public $entryIds;
/**
* @var bool
*/
public $permanently;
/**
* @param array $entryIds
* @param boolean $permanently
*/
public function __construct($entryIds, $permanently)
{
$this->entryIds = $entryIds;
$this->permanently = $permanently;
}
}

View File

@@ -0,0 +1,33 @@
<?php
namespace Common\Files\Events;
class FileEntriesMoved
{
/**
* @var array
*/
public $entryIds;
/**
* @var null|integer
*/
public $destination;
/**
* @var int|null
*/
public $source;
/**
* @param array $entryIds
* @param null|int $destination
* @param null|int $source
*/
public function __construct($entryIds, $destination, $source)
{
$this->entryIds = $entryIds;
$this->destination = $destination;
$this->source = $source;
}
}

View File

@@ -0,0 +1,10 @@
<?php
namespace Common\Files\Events;
class FileEntriesRestored
{
public function __construct(public array $entryIds)
{
}
}

View File

@@ -0,0 +1,18 @@
<?php
namespace Common\Files\Events;
use Common\Files\FileEntry;
class FileEntryCreated
{
/**
* @var FileEntry
*/
public $fileEntry;
public function __construct(FileEntry $fileEntry)
{
$this->fileEntry = $fileEntry;
}
}

View File

@@ -0,0 +1,18 @@
<?php
namespace Common\Files\Events;
use Common\Files\FileEntry;
class FileUploaded
{
/**
* @var FileEntry
*/
public $fileEntry;
public function __construct(FileEntry $fileEntry)
{
$this->fileEntry = $fileEntry;
}
}