Location: PHPKode > scripts > Redstart Templating > Redstart-Templating-master/Redstart/Templating/Escape/EscapeHandlerInterface.php
<?php

namespace Redstart\Templating\Escape;

/**
 * Escape Handler Interface
 * 
 * @package Redstart    
 * @subpackage Redstart_Templating_Escape
 *
 * @author Hyyan Abo Fakher
 * @since Redstart 1.0
 * @version 1.0
 */
interface EscapeHandlerInterface {

    /**
     * Set escape list
     * @param \Redstart\Templating\Escape\EscapeListInterface $list
     */
    public function setEscapeList(EscapeListInterface $list);

    /**
     * Get escape list
     * @return \Redstart\Templating\Escape\EscapeListInterface 
     */
    public function getEscapeList();

    /**
     * Applies escaping to a value.
     * 
     * @param string $value the value to apply escaping to it
     * @param array $listeners array of listeners to overide predefined escaping
     *                         listeners
     * 
     * @return string escaped value
     */
    public function escape($value, array $listeners = array());
}

Return current item: Redstart Templating