VIPnytt/RobotsTagParser

View on GitHub
src/XRobotsTagParser/Directives/DirectiveInterface.php

Summary

Maintainability
A
0 mins
Test Coverage
<?php
namespace vipnytt\XRobotsTagParser\Directives;

interface DirectiveInterface
{
    /**
     * Constructor
     *
     * @param string $directive
     * @param string $rule
     */
    public function __construct($directive, $rule);

    /**
     * Get directive name
     *
     * @return string
     */
    public function getDirective();

    /**
     * Get value
     *
     * @return bool|string|null
     */
    public function getValue();
}