Naguro_Font_Request_Factory

The WooCommerce Naguro Connect Naguro Font Request Factory class.

Defined (1)

The class is defined in the following location(s).

/includes/naguro/requests/factories/class-font-request-factory.php  
  1. class Naguro_Font_Request_Factory implements Naguro_Request_Factory { 
  2. public function get_request_by_method( $method ) { 
  3. if ( 'getavailablefonts' == $method ) { 
  4. return new Naguro_Fonts_Get_Request( $_POST ); 
  5.  
  6. throw new Exception('Invalid method.');