class_implements

class_implements

(PHP 5 >= 5.1.0, PHP 7)

class_implements Return the interfaces which are implemented by the given class or interface

Description

array class_implements ( mixed $class [, bool $autoload = true ] )

This function returns an array with the names of the interfaces that the given class and its parents implement.

Parameters

class

An object (class instance) or a string (class or interfa