Documentation

InternalMailing
in package
implements InternalMailingInterface

Class Channel

Tags
ORM\Entity

(repositoryClass="Vatjar\Data\Repository\InternalMailingRepository")

ORM\Table

(name="internal_mailing")

Table of Contents

Interfaces

InternalMailingInterface

Properties

$active  : string
$class  : string
$internalMailingClasses  : array<string|int, mixed>
$recipient  : UserAccount

Methods

__construct()  : mixed
getActive()  : string
getClass()  : string
getInternalMailingClasses()  : array<string|int, mixed>
getRecipient()  : UserAccount
isInternalMailingClass()  : bool
setActive()  : self

Properties

$active

private string $active
Tags
ORM\Id
ORM\GeneratedValue

(strategy="NONE")

ORM\Column

(type="boolean", name="active")

$class

private string $class
Tags
ORM\Id
ORM\GeneratedValue

(strategy="NONE")

ORM\Column

(type="text", name="mail_class")

$internalMailingClasses

private static array<string|int, mixed> $internalMailingClasses = [\Vatjar\Core\Mail\Mailable\PullFinishedMail::class]

$recipient

private UserAccount $recipient
Tags
ORM\Id
ORM\GeneratedValue

(strategy="NONE")

ORM\ManyToOne

(targetEntity="UserAccount")

ORM\JoinColumn

(name="recipient_user_account_id", referencedColumnName="id")

Methods

__construct()

public __construct(UserAccount $recipient, string $class[, bool $active = true ]) : mixed
Parameters
$recipient : UserAccount
$class : string
$active : bool = true

getInternalMailingClasses()

public static getInternalMailingClasses() : array<string|int, mixed>
Return values
array<string|int, mixed>

isInternalMailingClass()

public static isInternalMailingClass(string $className) : bool
Parameters
$className : string
Return values
bool

setActive()

public setActive(string $active) : self
Parameters
$active : string

$class

Return values
self

        
On this page

Search results