Completed
Branch BETA-4.9-message-activity (c2a8e0)
by
unknown
18:28 queued 10s
created

NullAddressFormatter   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 17
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Importance

Changes 1
Bugs 0 Features 0
Metric Value
wmc 1
c 1
b 0
f 0
lcom 0
cbo 0
dl 0
loc 17
rs 10

1 Method

Rating   Name   Duplication   Size   Complexity  
A format() 0 3 1
1
<?php
2
namespace EventEspresso\core\services\address\formatters;
3
4
if ( ! defined( 'EVENT_ESPRESSO_VERSION' ) ) {
5
	exit( 'No direct script access allowed' );
6
}
7
8
9
10
/**
11
 * Class NullAddressFormatter
12
 * This class will return null
13
 *
14
 * @package       Event Espresso
15
 * @subpackage    core/services/address/formatters
16
 * @author        Brent Christensen
17
 * @since         $VID:$
18
 */
19
class NullAddressFormatter implements \EEI_Address_Formatter {
20
21
	/**
22
	 * @param string $address
23
	 * @param string $address2
24
	 * @param string $city
25
	 * @param string $state
26
	 * @param string $zip
27
	 * @param string $country
28
	 * @param string $CNT_ISO
29
	 * @return string
30
	 */
31
	public function format( $address, $address2, $city, $state, $zip, $country, $CNT_ISO ) {
32
		return null;
33
	}
34
35
}
36
// End of file NullAddressFormatter.php
37
// Location: core/services/address/formatters/NullAddressFormatter.php