Backend\Modules\ContentBlocks\Entity\ContentBlock::__construct PHP Method

__construct() private method

private __construct ( integer $id, integer $userId, integer $extraId, string $template, string $locale, string $title, string $text, boolean $isHidden, ContentBlockStatus $status )
$id integer
$userId integer
$extraId integer
$template string
$locale string
$title string
$text string
$isHidden boolean
$status Backend\Modules\ContentBlocks\ValueObject\ContentBlockStatus
    private function __construct($id, $userId, $extraId, $template, $locale, $title, $text, $isHidden, ContentBlockStatus $status)
    {
        $this->id = $id;
        $this->userId = $userId;
        $this->extraId = $extraId;
        $this->template = $template;
        $this->locale = $locale;
        $this->title = $title;
        $this->text = $text;
        $this->isHidden = $isHidden;
        $this->status = $status;
    }