PHP Classes

File: src/Renderer/Error/ErrorRendererInterface.php

Recommend this page to a friend!
  Classes of Derek McLean   HTML Forms   src/Renderer/Error/ErrorRendererInterface.php   Download  
File: src/Renderer/Error/ErrorRendererInterface.php
Role: Class source
Content type: text/plain
Description: Class source
Class: HTML Forms
Generate and validate submitted HTML forms
Author: By
Last change:
Date: 6 years ago
Size: 435 bytes
 

Contents

Class file image Download
<?php
/**
 * User: delboy1978uk
 * Date: 04/12/2016
 * Time: 23:37
 */

namespace Del\Form\Renderer\Error;

use
Del\Form\Field\FieldInterface;


interface
ErrorRendererInterface
{
   
/**
     * @param FieldInterface $field
     * @return mixed
     */
   
public function render(FieldInterface $field);

   
/**
     * @param FieldInterface $field
     * @return bool
     */
   
public function shouldRender(FieldInterface $field);
}