Flow PHP

Types implements Countable

Read onlyYes
FinalYes

Interfaces

Countable

Methods

__construct()  : mixed
all()  : array<string|int, Type<string|int, mixed>>
count()  : int
first()  : Type<string|int, mixed>|null
has()  : bool
only()  : self
without()  : self

Methods

__construct()

public __construct(Type<string|int, mixed> ...$types) : mixed
Parameters
$types : Type<string|int, mixed>

all()

public all() : array<string|int, Type<string|int, mixed>>
Return values
array<string|int, Type<string|int, mixed>>

count()

public count() : int
Return values
int

first()

public first() : Type<string|int, mixed>|null
Return values
Type<string|int, mixed>|null

has()

public has(Type<string|int, mixed> $type) : bool
Parameters
$type : Type<string|int, mixed>
Return values
bool

only()

public only(Type<string|int, mixed> ...$types) : self
Parameters
$types : Type<string|int, mixed>
Return values
self

without()

public without(Type<string|int, mixed> ...$types) : self
Parameters
$types : Type<string|int, mixed>
Return values
self

        
On this page

Search results