public function process()
    {
        // Generate and commit all instances
        $indexes = $this->prepareIndexes();
        foreach ($indexes as $index) {
            if (!$this->commitIndex($index)) {
                return false;
            }
        }
        return true;
    }
public function process()
    {
        // Generate and commit all instances
        $indexes = $this->prepareIndexes();
        foreach ($indexes as $index) {
            if (!$this->commitIndex($index)) {
                return false;
            }
        }
        return true;
    }
public function process ( ) { // Generate and commit all instances $ indexes = $ this -> prepareIndexes ( ) ; foreach ( $ indexes as $ index ) { if ( ! $ this -> commitIndex ( $ index ) ) { return false ; } } return true ; }
Process all indexes, returning true if successful

@return bool Flag indicating success
Process all indexes returning true if successful