Dhii/url-interface

View on GitHub
src/UrlAwareInterface.php

Summary

Maintainability
A
0 mins
Test Coverage
<?php

namespace Dhii\Url;

use Dhii\Util\String\StringableInterface as Stringable;

/**
 * Something that is aware of, and can provide, a URL.
 *
 * @since [*next-version*]
 */
interface UrlAwareInterface
{
    /**
     * Retrieves the URL.
     *
     * @since [*next-version*]
     *
     * @return string|Stringable
     */
    public function getUrl();
}