BConnect Business - Reference PHP

BusinessType
in package

Attributes
#[Entity]
$repositoryClass: \App\Repository\BusinessTypeRepository::class

Table of Contents

Properties

$description  : string|null
$id  : int|null
$name  : string|null
$users  : Collection<int, User>

Methods

__construct()  : mixed
addUser()  : static
getDescription()  : string|null
getId()  : int|null
getName()  : string|null
getUsers()  : Collection<int, User>
removeUser()  : static
setDescription()  : static
setName()  : static

Properties

$description

private string|null $description = null
Attributes
#[Column]
$length: 255
$nullable: true

$id

private int|null $id = null
Attributes
#[Column]
#[GeneratedValue]
#[Id]

$name

private string|null $name = null
Attributes
#[Column]
$length: 255

$users

private Collection<int, User> $users
Attributes
#[OneToMany]
$targetEntity: \App\Entity\User::class
$mappedBy: 'businessType'

Methods

getDescription()

public getDescription() : string|null
Return values
string|null

getId()

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

getName()

public getName() : string|null
Return values
string|null

removeUser()

public removeUser(User $user) : static
Parameters
$user : User
Return values
static

setDescription()

public setDescription(string|null $description) : static
Parameters
$description : string|null
Return values
static

setName()

public setName(string $name) : static
Parameters
$name : string
Return values
static
On this page

Search results