AutoloadNotAllowedException.php 534 B

1234567891011121314151617181920212223
  1. <?php
  2. declare(strict_types=1);
  3. /**
  4. * SPDX-FileCopyrightText: 2016-2024 Nextcloud GmbH and Nextcloud contributors
  5. * SPDX-FileCopyrightText: 2016 ownCloud, Inc.
  6. * SPDX-License-Identifier: AGPL-3.0-only
  7. */
  8. namespace OCP;
  9. /**
  10. * Exception for when a not allowed path is attempted to be autoloaded
  11. * @since 8.2.0
  12. */
  13. class AutoloadNotAllowedException extends \DomainException {
  14. /**
  15. * @param string $path
  16. * @since 8.2.0
  17. */
  18. public function __construct($path) {
  19. parent::__construct('Autoload path not allowed: '.$path);
  20. }
  21. }