refinery29/sitemap

View on GitHub
src/Component/SitemapInterface.php

Summary

Maintainability
A
0 mins
Test Coverage
<?php

/*
 * Copyright (c) 2016 Refinery29, Inc.
 *
 * For the full copyright and license information, please view
 * the LICENSE file that was distributed with this source code.
 */

namespace Refinery29\Sitemap\Component;

/**
 * @link https://support.google.com/webmasters/answer/75712?rd=1
 */
interface SitemapInterface
{
    /**
     * @return string
     */
    public function location();

    /**
     * @return \DateTimeInterface|null
     */
    public function lastModified();
}