protected function flushRecipients($closure)
    {
        $recipients = (array)$this->temporaryTo;
        $this->temporaryTo = null;

        if(!$recipients && !is_callable($closure)){
            throw new BadMethodCallException('Recipient not determinable: Neither a recipient was set by to() nor a callable was passed');
        }

        return $recipients;
    }
protected function flushRecipients($closure)
    {
        $recipients = (array)$this->temporaryTo;
        $this->temporaryTo = null;

        if(!$recipients && !is_callable($closure)){
            throw new BadMethodCallException('Recipient not determinable: Neither a recipient was set by to() nor a callable was passed');
        }

        return $recipients;
    }
protected function flushRecipients ( $ closure ) { $ recipients = ( array ) $ this -> temporaryTo ; $ this -> temporaryTo = null ; if ( ! $ recipients && ! is_callable ( $ closure ) ) { throw new BadMethodCallException ( 'Recipient not determinable: Neither a recipient was set by to() nor a callable was passed' ) ; } return $ recipients ; }
Returns the recipients and clears em

@param callable $closure
@return array
Returns the recipients and clears em