Kahlan\Dir\Dir::_included PHP Method

_included() protected method

Checks if a file passes match an included path.
protected _included ( $path ) : boolean
return boolean Returns `true` if match an included path, `false` otherwise.
    protected function _included($path)
    {
        foreach ($this->_include as $include) {
            if (fnmatch($include, $path)) {
                return true;
            }
        }
        return false;
    }