PHP Class Thunder\Shortcode\Handler\SerializerHandler

Author: Tomasz Kowalczyk ([email protected])
Exibir arquivo Open project: thunderer/shortcode

Public Methods

Method Description
__construct ( Thunder\Shortcode\Serializer\SerializerInterface $serializer )
__invoke ( Thunder\Shortcode\Shortcode\ShortcodeInterface $shortcode ) : string [text arg=val /] [text arg=val]content[/text] [json arg=val /] [json arg=val]content[/json] [xml arg=val /] [xml arg=val]content[/xml] [yaml arg=val /] [yaml arg=val]content[/yaml]

Method Details

__construct() public method

public __construct ( Thunder\Shortcode\Serializer\SerializerInterface $serializer )
$serializer Thunder\Shortcode\Serializer\SerializerInterface

__invoke() public method

[text arg=val /] [text arg=val]content[/text] [json arg=val /] [json arg=val]content[/json] [xml arg=val /] [xml arg=val]content[/xml] [yaml arg=val /] [yaml arg=val]content[/yaml]
public __invoke ( Thunder\Shortcode\Shortcode\ShortcodeInterface $shortcode ) : string
$shortcode Thunder\Shortcode\Shortcode\ShortcodeInterface
return string