src/Monitor.php
/**
	 * Gather our core and plugin data
	 *
	 * @access public
	 * @return array - our data for sending to support
	 */
Gather our core and plugin data
@access public
@return array - our data for sending to support
Gather our core and plugin data @access public @return array - our data for sending to support
public function compile() {
		$data            = new \StdClass;
		$data->url       = site_url();
		$data->timestamp = time();
		$data->key       = hash( 'sha256', $data->url . $this->api_secret . $data->timestamp );
		$data->core      = $this->compile_core();
		$data->addons    = $this->compile_addons();
		return $data;
	}
public function compile ( ) { $ data = new \ StdClass ; $ data -> url = site_url ( ) ; $ data -> timestamp = time ( ) ; $ data -> key = hash ( 'sha256' , $ data -> url . $ this -> api_secret . $ data -> timestamp ) ; $ data -> core = $ this -> compile_core ( ) ; $ data -> addons = $ this -> compile_addons ( ) ; return $ data ; }
Gather our core and plugin data
 @access public
 @return array - our data for sending to support
Gather our core and plugin data @access public @return array - our data for sending to support