Skip to content
Snippets Groups Projects
Select Git revision
  • dc8237b4401f844e4b6f234af63d4ee555727c30
  • master default protected
  • devel
  • feature/add-escaping-to-templates
  • feature/add-priority-sorting
  • 3.3.0
  • 3.2.1
  • 3.2.0
  • 3.1.0
  • 3.0.0
  • 2.4.12
  • 2.4.11
  • 2.4.10
  • 2.4.9
  • 2.4.8
  • 2.4.7
  • 2.4.6
  • 2.4.5
  • 2.4.4
  • 2.4.2
  • 2.4.1
  • 2.4.0
  • 2.3.2
  • 2.3.1
  • 2.3
25 results

Paragraph.php

Blame
  • Renderer.php 644 B
    <?php
    
    namespace WPDesk\View\Renderer;
    
    use WPDesk\View\Resolver\Resolver;
    
    /**
     * Can render templates
     */
    interface Renderer
    {
        /**
         * Set the resolver used to map a template name to a resource the renderer may consume.
         *
         * @param  Resolver $resolver
         */
        public function set_resolver(Resolver $resolver);
    
        /**
         * @param string $template
         * @param array $params
         *
         * @return string
         */
        public function render($template, array $params = null);
    
        /**
         * @param string $template
         * @param array $params
         */
        public function output_render($template, array $params = null);
    }