<?php
/**
 * View class
 * Implements the IView interface
 * @author Jérôme Brilland
 * @version 1.0
 * @copyright (c) 2018, Jérôme Brilland
 * @license http://www.gnu.org/licenses/gpl.txt GNU General Public License
 * @abstract
 */
abstract class View implements IView {
    
    protected $data = [];
    
    /**
     * 
     * @param string $name
     * @param mixed $value
     * @access public
     */
    public function assign( $name, $value ) {
        $this->data[$name] = $value;
    }
    
}
