Открытые члены | |
__construct (?array $diskFiles=null, ?int $chatId=null) | |
getCopies (?Storage $storage=null) | |
addToTmp (string $source) | |
getFileDiskAttributes (int $chatId, array $options=[]) | |
getPopupData (array $excludedList=[]) | |
![]() | |
getUnique () | |
getIds () | |
getById (int $id) | |
toRestFormat (array $option=[]) | |
offsetSet ($offset, $value) | |
![]() | |
unsetByKeys (array $keys) | |
filter (callable $predicate) | |
getAny () | |
Открытые статические члены | |
static | getRestEntityName () |
static | initByDiskFilesIds (array $diskFilesIds, ?int $chatId=null) |
![]() | |
static | initByArray (array $entities) |
Дополнительные унаследованные члены | |
![]() | |
array | $entitiesWithId = [] |
<int,FileItem> @method FileItem offsetGet($key)
См. определение в файле FileCollection.php строка 22
__construct | ( | ?array | $diskFiles = null, |
?int | $chatId = null ) |
int[] | File[] | null | $diskFiles | |
int | null | $chatId |
См. определение в файле FileCollection.php строка 28
addToTmp | ( | string | $source | ) |
См. определение в файле FileCollection.php строка 83
getCopies | ( | ?Storage | $storage = null | ) |
См. определение в файле FileCollection.php строка 65
getFileDiskAttributes | ( | int | $chatId, |
array | $options = [] ) |
См. определение в файле FileCollection.php строка 103
getPopupData | ( | array | $excludedList = [] | ) |
Returns the data to be raised to the top of the REST response. Works on the principle of the composite pattern.
string[] | $excludedList |
Переопределяет метод предка EntityCollection.
См. определение в файле FileCollection.php строка 114
|
static |
Returns the name of the entity that will be used in the rest response
Замещает RestConvertible.
См. определение в файле FileCollection.php строка 41
|
static |
int[] | $diskFilesIds | |
int | null | $chatId |
См. определение в файле FileCollection.php строка 51