public static function parse($file, $target, $included = false)
    {
        if (in_array($file, static::$stack)) {
            throw new InfiniteRecursion;
        }

        static::$stack[] = $file;
        $parser = new static($file, $target, $included);
        array_pop(static::$stack);
        return $parser;
    }
public static function parse($file, $target, $included = false)
    {
        if (in_array($file, static::$stack)) {
            throw new InfiniteRecursion;
        }

        static::$stack[] = $file;
        $parser = new static($file, $target, $included);
        array_pop(static::$stack);
        return $parser;
    }
public static function parse ( $ file , $ target , $ included = false ) { if ( in_array ( $ file , static :: $ stack ) ) { throw new InfiniteRecursion ; } static :: $ stack [ ] = $ file ; $ parser = new static ( $ file , $ target , $ included ) ; array_pop ( static :: $ stack ) ; return $ parser ; }
Parse config file
@param string  File path
@param _Object  Target
@param boolean Included? Default is false
@return \PHPDaemon\Config\Parser
Parse config file