PHP 클래스 SimpleSoftwareIO\QrCode\DataTypes\Email

상속: implements SimpleSoftwareIO\QrCode\DataTypes\DataTypeInterface
파일 보기 프로젝트 열기: simplesoftwareio/simple-qrcode

보호된 프로퍼티들

프로퍼티 타입 설명
$body string The body of an email.
$email string The email address.
$prefix string The prefix of the QrCode.
$subject string The subject of the email.

공개 메소드들

메소드 설명
__toString ( ) : string Returns the correct QrCode format.
create ( array $arguments ) Generates the DataType Object and sets all of its properties.

보호된 메소드들

메소드 설명
buildEmailString ( ) * Builds the email string.
isValidEmail ( string $email ) : boolean Ensures an email is valid.
setEmail ( $email ) Sets the email property.
setProperties ( array $arguments ) Sets the objects properties.

메소드 상세

__toString() 공개 메소드

Returns the correct QrCode format.
public __toString ( ) : string
리턴 string

buildEmailString() 보호된 메소드

* Builds the email string.
protected buildEmailString ( )

create() 공개 메소드

Generates the DataType Object and sets all of its properties.
public create ( array $arguments )
$arguments array

isValidEmail() 보호된 메소드

Ensures an email is valid.
protected isValidEmail ( string $email ) : boolean
$email string
리턴 boolean

setEmail() 보호된 메소드

Sets the email property.
protected setEmail ( $email )
$email

setProperties() 보호된 메소드

Sets the objects properties.
protected setProperties ( array $arguments )
$arguments array

프로퍼티 상세

$body 보호되어 있는 프로퍼티

The body of an email.
protected string $body
리턴 string

$email 보호되어 있는 프로퍼티

The email address.
protected string $email
리턴 string

$prefix 보호되어 있는 프로퍼티

The prefix of the QrCode.
protected string $prefix
리턴 string

$subject 보호되어 있는 프로퍼티

The subject of the email.
protected string $subject
리턴 string