classes/Report.php
/**
     * Main function
     * Determines what the processed results are
     * Ready for the output function to execute further 
     * @return void
     */
Main function
Determines what the processed results are
Ready for the output function to execute further
@return void
Main function Determines what the processed results are Ready for the output function to execute further @return void
public function process() {
        if (empty($this->data)) {
            return;
        }
        array_walk($this->data, function($item) {
            $this->processItem($item);
        });
    }
public function process ( ) { if ( empty ( $ this -> data ) ) { return ; } array_walk ( $ this -> data , function ( $ item ) { $ this -> processItem ( $ item ) ; } ) ; }
Main function
 Determines what the processed results are
 Ready for the output function to execute further
 @return void
Main function Determines what the processed results are Ready for the output function to execute further @return void
// Iterate over the data and process each item individually