Location: PHPKode > scripts > Redstart Templating > Redstart-Templating-master/Redstart/Templating/Path/PathListInterface.php
<?php

namespace Redstart\Templating\Path;

/**
 * Path List Interface
 *
 * @package Redstart    
 * @subpackage Redstart_Templating_Path
 *
 * @author Hyyan Abo Fakher
 * @since Redstart 1.0
 * @version 1.0
 */
interface PathListInterface extends \Serializable, \IteratorAggregate {

    /**
     * Add directory path
     * @param string $path 
     */
    public function addPath($path);

    /**
     * Add array of paths
     * @param array $paths 
     */
    public function setPath(array $paths);

    /**
     * Add Path List
     * @param \Redstart\Templating\Path\PathListInterface $list
     */
    public function addPathList(PathListInterface $list);

    /**
     * Clear the path list
     */
    public function clear();

    /**
     * Find File
     * @param string $file filename
     * @return string|boolean  false if file not found or full file path on success
     */
    public function find($file);

}

Return current item: Redstart Templating