Documentation

Channel
in package
implements JsonSerializable, Channel

Class Channel

Tags
ORM\Entity

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

ORM\Table

(name="channel")

Table of Contents

Interfaces

JsonSerializable
Channel

Properties

$alias  : string
$id  : int|null
$name  : string

Methods

getAlias()  : string
Get $alias
getAliasById()  : string|null
getId()  : int|null
Get $id
getIdByAlias()  : int|null
getName()  : string
Get $name
jsonSerialize()  : array<string|int, mixed>

Properties

$alias

private string $alias
Tags
ORM\Column

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

$id

private int|null $id
Tags
ORM\Id
ORM\GeneratedValue
ORM\Column

(type="integer", name="id")

$name

private string $name
Tags
ORM\Column

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

Methods

getAlias()

Get $alias

public getAlias() : string
Return values
string

getAliasById()

public static getAliasById(int $id) : string|null
Parameters
$id : int
Return values
string|null

getId()

Get $id

public getId() : int|null
Return values
int|null

getIdByAlias()

public static getIdByAlias(string $alias) : int|null
Parameters
$alias : string
Return values
int|null

getName()

Get $name

public getName() : string
Return values
string

jsonSerialize()

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

        
On this page

Search results