thunderer/Shortcode

View on GitHub
src/Parser/ParserInterface.php

Summary

Maintainability
A
0 mins
Test Coverage
<?php
namespace Thunder\Shortcode\Parser;

use Thunder\Shortcode\Shortcode\ParsedShortcodeInterface;

/**
 * @author Tomasz Kowalczyk <tomasz@kowalczyk.cc>
 */
interface ParserInterface
{
    /**
     * Parse single shortcode match into object
     *
     * @param string $text
     *
     * @return ParsedShortcodeInterface[]
     */
    public function parse($text);
}