method
public
static
DirectoryEntry::createEmptyDirectory()
Сигнатура
public static createEmptyDirectory(string $path) : self
Параметры
$path
string
Возвращаемое значение
self
Как применяется в DirectoryEntry
DirectoryEntry::createEmptyDirectory() — метод класса \Bitrix\Main\Engine\Response\Zip\DirectoryEntry модуля «Главный модуль».
Статический метод — вызывается через имя класса DirectoryEntry, без создания объекта.
use Bitrix\Main\Engine\Response\Zip\DirectoryEntry;
$path = '';
$result = DirectoryEntry::createEmptyDirectory($path);
// $result: selfДругие методы DirectoryEntry
createEmptyDirectory() есть и у других классов модуля «Главный модуль»: EntryBuilder.
Исходный файл: source/main/lib/engine/response/zip/directoryentry.php:17

