for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace ICanBoogie\View\View;
use ICanBoogie\Event;
use ICanBoogie\View\View;
/**
* Event class for the `ICanBoogie\View\View::render:before` event.
*
* Event hooks may use this event to alter the view before it is rendered, or provide a cached
* result.
*/
class BeforeRenderEvent extends Event
{
const TYPE = 'render:before';
* @var string
public $result;
* @param View $target
* @param string $result
public function __construct(View $target, &$result)
$this->result = &$result;
parent::__construct($target, self::TYPE);
}