static function createEntryFactory(
        ?FileFormatInterface $fileFormat = null,
        ?PathResolverInterface $pathResolver = null,
        ?string $temporaryDirPath = null,
        ?int $umask = null
    ): EntryFactoryInterface {
        if (DIRECTORY_SEPARATOR === '\\') {
            // use file locking on Windows
            return new FlockEntryFactory($fileFormat, $pathResolver, $umask);
        }

        return new EntryFactory($fileFormat, $pathResolver, $temporaryDirPath, $umask);
    }
static function createEntryFactory(
        ?FileFormatInterface $fileFormat = null,
        ?PathResolverInterface $pathResolver = null,
        ?string $temporaryDirPath = null,
        ?int $umask = null
    ): EntryFactoryInterface {
        if (DIRECTORY_SEPARATOR === '\\') {
            // use file locking on Windows
            return new FlockEntryFactory($fileFormat, $pathResolver, $umask);
        }

        return new EntryFactory($fileFormat, $pathResolver, $temporaryDirPath, $umask);
    }
static function createEntryFactory ( ? FileFormatInterface $ fileFormat = null , ? PathResolverInterface $ pathResolver = null , ? string $ temporaryDirPath = null , ? int $ umask = null ) : EntryFactoryInterface { if ( DIRECTORY_SEPARATOR === '\\' ) { // use file locking on Windows return new FlockEntryFactory ( $ fileFormat , $ pathResolver , $ umask ) ; } return new EntryFactory ( $ fileFormat , $ pathResolver , $ temporaryDirPath , $ umask ) ; }
Create an entry factory suitable for the current environment
Create an entry factory suitable for the current environment