for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace App\Example;
use Zapheus\Renderer\RendererInterface;
/**
* Test Controller
*
* @package App
* @author Rougin Gutib <[email protected]>
*/
class TestController
{
* @var \Zapheus\Renderer\RendererInterface
protected $renderer;
* Initializes the HTTP controller instance.
* @param \Zapheus\Renderer\RendererInterface $renderer
public function __construct(RendererInterface $renderer)
$this->renderer = $renderer;
}
* Greets you with a "lorem ipsum" text.
* @return string
public function greet()
return $this->renderer->render('sample.test');