UseSession.php 361 B

123456789101112131415161718192021
  1. <?php
  2. declare(strict_types=1);
  3. /**
  4. * SPDX-FileCopyrightText: 2023 Nextcloud GmbH and Nextcloud contributors
  5. * SPDX-License-Identifier: AGPL-3.0-or-later
  6. */
  7. namespace OCP\AppFramework\Http\Attribute;
  8. use Attribute;
  9. /**
  10. * Attribute for controller methods that need to read/write PHP session data
  11. *
  12. * @since 26.0.0
  13. */
  14. #[Attribute]
  15. class UseSession {
  16. }