Location: PHPKode > scripts > Redstart Templating > Redstart-Templating-master/Redstart/Templating/Placeholder/PlaceholderInterface.php
<?php

namespace Redstart\Templating\Placeholder;

/**
 * Place Holder Interface
 *
 * @package Redstart    
 * @subpackage Redstart_Templating_Placeholder
 *
 * @author Hyyan Abo Fakher
 * @since Redstart 1.0
 * @version 1.0
 */
interface PlaceholderInterface extends \Countable, \Serializable {


    /**
     * Add Param To The Palce Holder
     * @param mixed $name param name
     * @param mixed $value param value
     */
    public function set($name, $value);

    /**
     * Get Param 
     * @param mixed $name param name
     */
    public function get($name);

    /**
     * Remove param 
     * @param string $name
     * @return mixed|false false on failure or removed item on success 
     */
    public function remove($name);

    /**
     * Has Param
     * @param string $name
     * @return boolean
     */
    public function has($name);

    /**
     * Get All Params In The Place Holder
     * @return array
     */
    public function all();

    /**
     * Clean The Place Holder
     * @return boolean true on success false otherwise
     */
    public function clean();
}

Return current item: Redstart Templating