Psecio\Parse\FileIteratorTest::setUpBeforeClass PHP Method

setUpBeforeClass() public static method

public static setUpBeforeClass ( )
    public static function setUpBeforeClass()
    {
        self::$testDir = sys_get_temp_dir() . '/' . uniqid('psecio-parse');
        mkdir(self::$testDir);
        mkdir(self::expand('dir'));
        mkdir(self::expand('dir2'));
        touch(self::expand('dir/file.php'));
        touch(self::expand('dir2/file.php'));
        self::$expectedFiles[] = realpath(self::expand('dir/file.php'));
        self::$expectedFiles[] = realpath(self::expand('dir2/file.php'));
    }