src/Parser/Directives/ParserInterface.php
<?php
/**
* vipnytt/RobotsTxtParser
*
* @link https://github.com/VIPnytt/RobotsTxtParser
* @license https://github.com/VIPnytt/RobotsTxtParser/blob/master/LICENSE The MIT License (MIT)
*/
namespace vipnytt\RobotsTxtParser\Parser\Directives;
use vipnytt\RobotsTxtParser\Handler\RenderHandler;
/**
* Interface ParserInterface
*
* @package vipnytt\RobotsTxtParser\Parser\Directives
*/
interface ParserInterface
{
/**
* Add
*
* @param string $line
* @return bool
*/
public function add($line);
/**
* Client
*
* @return object
*/
public function client();
/**
* Render
*
* @param RenderHandler $handler
* @return bool
*/
public function render(RenderHandler $handler);
}