$26 GRAYBYTE WORDPRESS FILE MANAGER $95

SERVER : premium201.web-hosting.com #1 SMP Wed Mar 26 12:08:09 UTC 2025
SERVER IP : 172.67.217.254 | ADMIN IP 216.73.216.157
OPTIONS : CRL = ON | WGT = ON | SDO = OFF | PKEX = OFF
DEACTIVATED : NONE

/opt/alt/php55/usr/share/pear/test/Finder/Symfony/Component/Finder/Tests/Iterator/

HOME
Current File : /opt/alt/php55/usr/share/pear/test/Finder/Symfony/Component/Finder/Tests/Iterator//Iterator.php
<?php

/*
 * This file is part of the Symfony package.
 *
 * (c) Fabien Potencier <[email protected]>
 *
 * For the full copyright and license information, please view the LICENSE
 * file that was distributed with this source code.
 */

namespace Symfony\Component\Finder\Tests\Iterator;

class Iterator implements \Iterator
{
    protected $values = array();

    public function __construct(array $values = array())
    {
        foreach ($values as $value) {
            $this->attach(new \SplFileInfo($value));
        }
        $this->rewind();
    }

    public function attach(\SplFileInfo $fileinfo)
    {
        $this->values[] = $fileinfo;
    }

    public function rewind()
    {
        reset($this->values);
    }

    public function valid()
    {
        return false !== $this->current();
    }

    public function next()
    {
        next($this->values);
    }

    public function current()
    {
        return current($this->values);
    }

    public function key()
    {
        return key($this->values);
    }
}


Current_dir [ NOT WRITEABLE ] Document_root [ NOT WRITEABLE ]


[ Back ]
NAME
SIZE
LAST TOUCH
USER
CAN-I?
FUNCTIONS
..
--
3 Mar 2024 10.54 PM
root / root
0755
CustomFilterIteratorTest.php
1.231 KB
18 Dec 2019 11.24 AM
root / root
0644
DateRangeFilterIteratorTest.php
1.81 KB
18 Dec 2019 11.24 AM
root / root
0644
DepthRangeFilterIteratorTest.php
2.04 KB
18 Dec 2019 11.24 AM
root / root
0644
ExcludeDirectoryFilterIteratorTest.php
1.595 KB
18 Dec 2019 11.24 AM
root / root
0644
FilePathsIteratorTest.php
2.726 KB
18 Dec 2019 11.24 AM
root / root
0644
FileTypeFilterIteratorTest.php
1.575 KB
18 Dec 2019 11.24 AM
root / root
0644
FilecontentFilterIteratorTest.php
2.651 KB
18 Dec 2019 11.24 AM
root / root
0644
FilenameFilterIteratorTest.php
1.492 KB
18 Dec 2019 11.24 AM
root / root
0644
FilterIteratorTest.php
1.303 KB
18 Dec 2019 11.24 AM
root / root
0644
Iterator.php
1.017 KB
18 Dec 2019 11.24 AM
root / root
0644
IteratorTestCase.php
2.358 KB
18 Dec 2019 11.24 AM
root / root
0644
MockFileListIterator.php
0.539 KB
18 Dec 2019 11.24 AM
root / root
0644
MockSplFileInfo.php
3.438 KB
18 Dec 2019 11.24 AM
root / root
0644
MultiplePcreFilterIteratorTest.php
2.042 KB
18 Dec 2019 11.24 AM
root / root
0644
PathFilterIteratorTest.php
3.238 KB
18 Dec 2019 11.24 AM
root / root
0644
RealIteratorTestCase.php
2.801 KB
18 Dec 2019 11.24 AM
root / root
0644
RecursiveDirectoryIteratorTest.php
2.135 KB
18 Dec 2019 11.24 AM
root / root
0644
SizeRangeFilterIteratorTest.php
1.5 KB
18 Dec 2019 11.24 AM
root / root
0644
SortableIteratorTest.php
2.345 KB
18 Dec 2019 11.24 AM
root / root
0644

GRAYBYTE WORDPRESS FILE MANAGER @ 2025 CONTACT ME
Static GIF