InterfaceType
final class InterfaceType extends ClassLike
Definition of an interface with properties, methods and constants.
Methods
setExtends(string|array $names)
No description
array
getExtends()
No description
addExtend(string $name)
No description
addMember(Property $member, bool $overwrite = false)
Adds a member. If it already exists, throws an exception or overwrites it if $overwrite is true.
void
validate()
No description
void
__clone()
No description
Details
at line 31
InterfaceType
setExtends(string|array $names)
No description
at line 41
array
getExtends()
No description
at line 47
InterfaceType
addExtend(string $name)
No description
at line 58
InterfaceType
addMember(Property $member, bool $overwrite = false)
Adds a member. If it already exists, throws an exception or overwrites it if $overwrite is true.
at line 75
void
validate()
No description
at line 87
void
__clone()
No description