프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$client | The Guzzle client. | ||
$mailTrapApiKey | string | The MailTrap API Key. | |
$mailTrapInboxId | integer | The MailTrap configuration. |
메소드 | 설명 | |
---|---|---|
emptyInbox ( ) | Empty the MailTrap inbox. |
메소드 | 설명 | |
---|---|---|
alreadyConfigured ( ) : boolean | Determine if MailTrap config has been retrieved yet. | |
applyMailTrapConfiguration ( integer | null $inboxId = null ) | Get the configuration for MailTrap. | |
fetchInbox ( integer | null $inboxId = null ) : mixed | Fetch a MailTrap inbox. | |
getMailTrapCleanUrl ( ) : string | Get the MailTrap "empty inbox" endpoint. | |
getMailTrapMessagesUrl ( ) : string | Get the MailTrap messages endpoint. | |
parseJson ( $body ) : array | mixed | ||
requestClient ( ) : |
Request a new Guzzle client. |
protected alreadyConfigured ( ) : boolean | ||
리턴 | boolean |
protected applyMailTrapConfiguration ( integer | null $inboxId = null ) | ||
$inboxId | integer | null |
protected getMailTrapCleanUrl ( ) : string | ||
리턴 | string |
protected getMailTrapMessagesUrl ( ) : string | ||
리턴 | string |
protected requestClient ( ) : |
||
리턴 |