Files
wallabag/src/SiteConfig/SiteConfigBuilder.php

18 lines
358 B
PHP
Raw Normal View History

<?php
namespace Wallabag\CoreBundle\SiteConfig;
interface SiteConfigBuilder
{
/**
* Builds the SiteConfig for a host.
*
* @param string $host The "www." prefix is ignored.
*
* @throws \OutOfRangeException If there is no config for $host
*
* @return SiteConfig|false
*/
public function buildForHost($host);
}