mirror of
https://github.com/nextcloud/server.git
synced 2026-04-23 07:08:34 -04:00
24 lines
458 B
PHP
24 lines
458 B
PHP
<?php
|
|
|
|
/**
|
|
* SPDX-FileCopyrightText: 2024 Nextcloud GmbH and Nextcloud contributors
|
|
* SPDX-License-Identifier: AGPL-3.0-or-later
|
|
*/
|
|
|
|
namespace OCP\Files\Template;
|
|
|
|
use OCP\EventDispatcher\Event;
|
|
|
|
class BeforeGetTemplatesEvent extends Event {
|
|
private array $templates;
|
|
|
|
public function __construct(array $templates) {
|
|
parent::__construct();
|
|
|
|
$this->templates = $templates;
|
|
}
|
|
|
|
public function getTemplates(): array {
|
|
return $this->templates;
|
|
}
|
|
}
|