for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/*
* This is part of the webuni/front-matter package.
*
* (c) Martin Hasoň <[email protected]>
* (c) Webuni s.r.o. <[email protected]>
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Webuni\FrontMatter\Processor;
abstract class ProcessorDecorator implements ProcessorInterface
{
/** @var ProcessorInterface */
private $wrapped;
public function __construct(ProcessorInterface $wrapped)
$this->wrapped = $wrapped;
}
public function parse(string $string): array
return $this->wrapped->parse($string);
public function dump(array $data): string
return $this->wrapped->dump($data);