예제 #1
0
파일: helpers.php 프로젝트: boltphp/core
 public function isInterfaceOf($obj, $class)
 {
     if (!is_object($obj)) {
         return false;
     }
     return in_array(b::normalizeClassName($class), class_implements($obj));
 }