for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/**
* Bright Nucleus View Component.
*
* @package BrightNucleus\View
* @author Alain Schlesser <[email protected]>
* @license MIT
* @link http://www.brightnucleus.com/
* @copyright 2016 Alain Schlesser, Bright Nucleus
*/
namespace BrightNucleus\View\Engine;
use BrightNucleus\View\Support\NullObject;
* Class NullEngine.
* @since 0.1.0
* @package BrightNucleus\View\Engine
class NullEngine implements EngineInterface, NullObject
{
* Check whether the Findable can handle an individual criterion.
* @param mixed $criterion Criterion to check.
* @return bool Whether the Findable can handle the criterion.
public function canHandle($criterion)
$criterion
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.
return true;
}
* Render a given URI.
* @param string $uri URI to render.
* @param array $context Context in which to render.
* @return string Rendered HTML.
public function render($uri, array $context = [])
return '';
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.