get_handler_class() public static method

Get the registered handler class for a certain type
public static get_handler_class ( string | null $type = null )
$type string | null Type to get, defaults to the option
Ejemplo n.º 1
0
 /**
  * Validate the handler-specific options via the handler's methods
  *
  * @see self::init()
  */
 public static function validate_handler_options($input)
 {
     if (self::$wipe_handler_options) {
         return array();
     }
     try {
         $handler = Falcon::get_handler_class();
     } catch (Exception $e) {
         return array();
     }
     return $handler::validate_options($input);
 }