/** * @return AnnotationBulkUploadXmlHandler */ public static function get() { if (!self::$instance) { self::$instance = new AnnotationBulkUploadXmlHandler(); } return self::$instance; }
public function getInstance($interface) { if ($this instanceof $interface) { return $this; } if ($interface == 'IKalturaBulkUploadXmlHandler') { return AnnotationBulkUploadXmlHandler::get(); } return null; }