|
|
|
@ -224,6 +224,8 @@ if (!class_exists('FacesExtendable', FALSE)) {
|
|
|
|
|
* describe a single file. |
|
|
|
|
*/ |
|
|
|
|
public function extend($interface, array $callbacks = array(), array $includes = array()) { |
|
|
|
|
//UPEI added line below |
|
|
|
|
$interface = class_exists($interface) ? $interface : FALSE; |
|
|
|
|
$face_methods = $interface ? get_class_methods($interface) : array_keys($callbacks); |
|
|
|
|
if ($interface) { |
|
|
|
|
if (array_diff($face_methods, array_keys($callbacks))) { |
|
|
|
|