Thunder\Shortcode\Processor\Processor::__construct PHP Method

__construct() public method

automatically process shortcode content
public __construct ( Thunder\Shortcode\Parser\ParserInterface $parser, Thunder\Shortcode\HandlerContainer\HandlerContainerInterface $handlers )
$parser Thunder\Shortcode\Parser\ParserInterface
$handlers Thunder\Shortcode\HandlerContainer\HandlerContainerInterface
    public function __construct(ParserInterface $parser, Handlers $handlers)
    {
        $this->parser = $parser;
        $this->handlers = $handlers;
    }