for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
declare(strict_types=1);
namespace Murtukov\PHPCodeGenerator;
class Block extends AbstractGenerator implements BlockInterface
{
use ScopedContentTrait;
public function generate(): string
return <<<CODE
{$this->generateContent()}
}
CODE;
public static function new()
return new static();