for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace App\Facades;
use Zapheus\Renderer\RendererInterface;
/**
* View Facade
*
* @package App
* @author Rougin Royce Gutib <[email protected]>
*/
class View extends Facade
{
* Returns the registered name of the instance.
* @return string
protected static function accessor()
return 'Zapheus\Renderer\RendererInterface';
}
* Renders a file from a specified template.
* @param string $template
* @param array $data
* @throws \InvalidArgumentException
public static function make($template, $data = array())
return self::render($template, $data);
render()
App\Facades\View
__callStatic
If this is a false-positive, you can also ignore this issue in your code via the ignore-call annotation
ignore-call
return self::/** @scrutinizer ignore-call */ render($template, $data);