ReflectionClass::isInterface

( excerpt from http://php

Description

public function isInterface(): bool;

net/manual/en/reflectionclass.isinterface.php )

Checks whether the class is an interface.

Return Values

  • mixed - Returns TRUE on success or FALSE on failure.