Minio
extends Component
in package
FinalYes
Tags
Table of Contents
Properties
- $hashCode : int
- $hashCounter : int
- $tenants : array<string|int, mixed>
Methods
- __call() : mixed
- __callStatic() : mixed
- __construct() : mixed
- __destruct() : mixed
- __get() : mixed
- bucketExists() : bool
- Checks if a bucket exists across all available tenants
- bucketize() : string
- Transforms a string into an appropriate bucket name
- createTenant() : MinioTenant
- createTenantFromArray() : MinioTenant
- extends() : bool
- getReflection() : ReflectionClass
- getTenantById() : MinioTenant|null
- init() : mixed
Properties
$hashCode
private
int
$hashCode
$hashCounter
private
static int
$hashCounter
= 0
$tenants
private
static array<string|int, mixed>
$tenants
= []
Methods
__call()
public
__call(string $method, array<string|int, mixed> $arguments) : mixed
Parameters
- $method : string
- $arguments : array<string|int, mixed>
Tags
__callStatic()
public
static __callStatic(mixed $method, array<string|int, mixed> $arguments) : mixed
Parameters
- $method : mixed
- $arguments : array<string|int, mixed>
__construct()
public
__construct() : mixed
__destruct()
public
__destruct() : mixed
__get()
public
__get(string $property) : mixed
Parameters
- $property : string
bucketExists()
Checks if a bucket exists across all available tenants
public
static bucketExists(string $bucket) : bool
Parameters
- $bucket : string
Return values
boolbucketize()
Transforms a string into an appropriate bucket name
public
static bucketize(string $bucket) : string
Parameters
- $bucket : string
-
The string to transform
Return values
string —The string transformed into an appropriate bucket name
createTenant()
public
static createTenant(int $id, string $protocol, string $hostname, string $port) : MinioTenant
Parameters
- $id : int
- $protocol : string
- $hostname : string
- $port : string
Tags
Return values
MinioTenantcreateTenantFromArray()
public
static createTenantFromArray(array<string|int, mixed> $tenant) : MinioTenant
Parameters
- $tenant : array<string|int, mixed>
Return values
MinioTenantextends()
public
extends(ReflectionClass $reflector) : bool
Parameters
- $reflector : ReflectionClass
Return values
boolgetReflection()
public
getReflection() : ReflectionClass
Return values
ReflectionClassgetTenantById()
public
static getTenantById(int $id) : MinioTenant|null
Parameters
- $id : int
Return values
MinioTenant|nullinit()
protected
init() : mixed