src/sb/Email/Reader.php
public function close($expunge)
    {
        //expunge emails set to delete if delete_after_read is set
        if ($expunge) {
            \imap_close($this->inbox, CL_EXPUNGE);
        } else {
            \imap_close($this->inbox);
        }
    }
public function close($expunge)
    {
        //expunge emails set to delete if delete_after_read is set
        if ($expunge) {
            \imap_close($this->inbox, CL_EXPUNGE);
        } else {
            \imap_close($this->inbox);
        }
    }
public function close ( $ expunge ) { //expunge emails set to delete if delete_after_read is set if ( $ expunge ) { \ imap_close ( $ this -> inbox , CL_EXPUNGE ) ; } else { \ imap_close ( $ this -> inbox ) ; } }
Closes the inbox and expunges deleted messages if expunge is true

@param boolean $expunge true expunges
Closes the inbox and expunges deleted messages if expunge is true