<?php 
 
namespace Jaxon\Sentry\Interfaces; 
 
use Jaxon\Sentry\View\Store; 
 
interface View 
{ 
    /** 
     * Add a namespace to the view renderer 
     * 
     * @param string        $sNamespace         The namespace name 
     * @param string        $sDirectory         The namespace directory 
     * @param string        $sExtension         The extension to append to template names 
     * 
     * @return void 
     */ 
    public function addNamespace($sNamespace, $sDirectory, $sExtension = ''); 
 
    /** 
     * Render a view 
     * 
     * @param Store         $store        A store populated with the view data 
     * 
     * @return string        The string representation of the view 
     */ 
    public function render(Store $store); 
} 
 
 |