UriAccess.php 578 B

1234567891011121314151617181920212223242526
  1. <?php
  2. /**
  3. * League.Uri (https://uri.thephpleague.com)
  4. *
  5. * (c) Ignace Nyamagana Butera <nyamsprod@gmail.com>
  6. *
  7. * For the full copyright and license information, please view the LICENSE
  8. * file that was distributed with this source code.
  9. */
  10. declare(strict_types=1);
  11. namespace League\Uri\Contracts;
  12. use Psr\Http\Message\UriInterface as Psr7UriInterface;
  13. interface UriAccess
  14. {
  15. public function getUri(): UriInterface|Psr7UriInterface;
  16. /**
  17. * Returns the RFC3986 string representation of the complete URI.
  18. */
  19. public function getUriString(): string;
  20. }