Ouzo\View\PhtmlRenderer::__construct PHP 메소드

__construct() 공개 메소드

public __construct ( $viewName, array $attributes )
$attributes array
    public function __construct($viewName, array $attributes)
    {
        $this->_viewName = $viewName;
        $this->_attributes = $attributes;
        $this->_viewPath = Path::join(ROOT_PATH, ApplicationPaths::getViewPath(), $this->_viewName . self::EXTENSION);
    }