WebVIEP Plugin

Topic
in package

FinalYes

Domain entity representing a topic taxonomy term.

Table of Contents

Properties

$active  : bool
$id  : TopicId
$name  : string

Methods

__construct()  : mixed
Topic constructor.
id()  : TopicId
Topic identifier.
isActive()  : bool
Whether the topic is active.
name()  : string
Topic display name.

Properties

$active

private bool $active

Methods

__construct()

Topic constructor.

public __construct(TopicId $id, string $name[, bool $active = true ]) : mixed
Parameters
$id : TopicId
$name : string
$active : bool = true

isActive()

Whether the topic is active.

public isActive() : bool
Return values
bool

name()

Topic display name.

public name() : string
Return values
string

        
On this page

Search results