/
proc
/
self
/
root
/
home
/
henzagold
/
server
/
vendor
/
thunderer
/
shortcode
/
src
/
Handler
/
File Upload :
llllll
Current File: //proc/self/root/home/henzagold/server/vendor/thunderer/shortcode/src/Handler/SerializerHandler.php
<?php namespace Thunder\Shortcode\Handler; use Thunder\Shortcode\Serializer\SerializerInterface; use Thunder\Shortcode\Shortcode\ShortcodeInterface; /** * @author Tomasz Kowalczyk <tomasz@kowalczyk.cc> */ final class SerializerHandler { /** @var SerializerInterface */ private $serializer; public function __construct(SerializerInterface $serializer) { $this->serializer = $serializer; } /** * [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] * * @param ShortcodeInterface $shortcode * * @return string */ public function __invoke(ShortcodeInterface $shortcode) { return $this->serializer->serialize($shortcode); } }
Copyright ©2k19 -
Hexid
|
Tex7ure