ViewInterface::addGlobal()
last analyzed

Size

Total Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
c 0
b 0
f 0
dl 0
loc 1
ccs 0
cts 0
cp 0
1
<?php
2
declare(strict_types = 1);
3
4
namespace Selami\View;
5
6
use Psr\Container\ContainerInterface;
7
8
interface ViewInterface
9
{
10
    public static function viewFactory(ContainerInterface $container, array $config) : ViewInterface;
11
    public function addGlobal(string $name, $value) : void;
12
    public function render(string $templateFile, array $parameters = []) : string;
13
}
14