Supported Versions: PHP 7, PHP 8
Get cryptographically secure random bytes
<?php random_bytes(int $length): string
<?php     public static function setUpBeforeClass(): void

    {

        static::$adapterPrefix = 'ci/' . bin2hex(random_bytes(10));

    }



    protected function tearDown(): void
<?php     public static function setUpBeforeClass(): void

    {

        static::$adapterPrefix = getenv('FLYSYSTEM_AWS_S3_PREFIX') ?: 'ci/' . bin2hex(random_bytes(10));

    }



    protected function tearDown(): void
<?php     public static function setUpBeforeClass(): void

    {

        static::$adapterPrefix = 'ci/' . bin2hex(random_bytes(10));

    }



    protected static function createFilesystemAdapter(): FilesystemAdapter