for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Modules\Block\Events;
class BlockContentIsRendering
{
/**
* @var string The body of the page to render
*/
private $body;
private $original;
public function __construct($body)
$this->body = $body;
$this->original = $body;
}
* @return string
public function getBody()
return $this->body;
* @param string $body
public function setBody($body)
* @return mixed
public function getOriginal()
return $this->original;
public function __toString()
return $this->getBody();