API/Settings.php
private function key($method, $type, $alt, $s = null, $throw = true) {return
		$this->$method("{$type}Key", $s, function() use($method, $alt, $s) {return
			$this->$method("{$alt}Key", $s);}
		) ?: ($throw ? df_error("Please set your {$this->titleB()} $type key in the Magento backend.") : null)
	;}
private function key($method, $type, $alt, $s = null, $throw = true) {return
		$this->$method("{$type}Key", $s, function() use($method, $alt, $s) {return
			$this->$method("{$alt}Key", $s);}
		) ?: ($throw ? df_error("Please set your {$this->titleB()} $type key in the Magento backend.") : null)
	;}
private function key ( $ method , $ type , $ alt , $ s = null , $ throw = true ) { return $ this -> $ method ( "{$type}Key" , $ s , function ( ) use ( $ method , $ alt , $ s ) { return $ this -> $ method ( "{$alt}Key" , $ s ) ; } ) ? : ( $ throw ? df_error ( "Please set your {$this->titleB()} $type key in the Magento backend." ) : null ) ; }
2017-02-08
@used-by privateKey()
@used-by publicKey()
@uses testable()
@uses testableP()
@param string $method
@param string $type
@param string $alt
@param null|string|int|S|Store $s [optional]
@param bool $throw [optional]
@return string|null
@throws DFE
2017 - 02 - 08