Dhii/time-interface

View on GitHub
src/IntervalAwareInterface.php

Summary

Maintainability
A
0 mins
Test Coverage
<?php

namespace Dhii\Time;

/**
 * Something that is aware of, and can provide, an interval.
 *
 * @since [*next-version*]
 */
interface IntervalAwareInterface
{
    /**
     * Retrieves the interval associated with this instance.
     *
     * @since [*next-version*]
     *
     * @return IntervalInterface The interval.
     */
    public function getInterval();
}