protected function normalizeData( $data )
	{
		// If an object was provided, get its public properties
		if( is_object( $data )) {
			$this->data = get_object_vars( $data );
		}
		else {
			$this->data = $data;
		}

		return $this;
	}
protected function normalizeData( $data )
	{
		// If an object was provided, get its public properties
		if( is_object( $data )) {
			$this->data = get_object_vars( $data );
		}
		else {
			$this->data = $data;
		}

		return $this;
	}
protected function normalizeData ( $ data ) { // If an object was provided, get its public properties if ( is_object ( $ data ) ) { $ this -> data = get_object_vars ( $ data ) ; } else { $ this -> data = $ data ; } return $ this ; }
Normalize the provided data to an array.

@param mixed $data

@return $this
Normalize the provided data to an array .