final class InterfaceType extends ClassLike

Interface description.

Methods

setExtends(string|array $names)

No description

array
getExtends()

No description

addExtend(string $name)

No description

addMember(Constant $member, bool $overwrite = false)

Adds a member. If it already exists, throws an exception or overwrites it if $overwrite is true.

void
__clone()

No description

Details

at line 30
InterfaceType setExtends(string|array $names)

No description

Parameters

string|array $names

Return Value

InterfaceType

at line 40
array getExtends()

No description

Return Value

array

at line 46
InterfaceType addExtend(string $name)

No description

Parameters

string $name

Return Value

InterfaceType

at line 57
InterfaceType addMember(Constant $member, bool $overwrite = false)

Adds a member. If it already exists, throws an exception or overwrites it if $overwrite is true.

Parameters

Constant $member
bool $overwrite

Return Value

InterfaceType

at line 72
void __clone()

No description

Return Value

void

Traits