(PHP 5, PHP 7, PHP 8)
ReflectionClass::implementsInterface — 接口的實現(xiàn)
$interface
檢查它是否實現(xiàn)了一個接口(interface)。
interface
接口(interface)的名稱。
成功時返回 true, 或者在失敗時返回 false。
true
false