BConnect Business - Reference PHP

PosFeature
in package

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

Table of Contents

Properties

$category  : string|null
$code  : string|null
$description  : string|null
$features  : Collection
$id  : int|null
$name  : string|null

Methods

__construct()  : mixed
addFeature()  : static
getCategory()  : string|null
getCode()  : string|null
getDescription()  : string|null
getFeatures()  : Collection<int, Feature>
getId()  : int|null
getName()  : string|null
removeFeature()  : static
setCategory()  : static
setCode()  : static
setDescription()  : static
setName()  : static

Properties

$category

private string|null $category = null
Attributes
#[Column]
$length: 255
$nullable: true
#[Groups]
['posfeature:read']

$code

private string|null $code = null
Attributes
#[Column]
$length: 255
#[Groups]
['posfeature:read', 'feature:read', 'pricing:read']

$description

private string|null $description = null
Attributes
#[Column]
$length: 255
$nullable: true
#[Groups]
['posfeature:read', 'feature:read', 'pricing:read']

$features

private Collection $features
Attributes
#[OneToMany]
$targetEntity: \App\Entity\Feature::class
$mappedBy: 'posFeature'

$id

private int|null $id = null
Attributes
#[Column]
#[GeneratedValue]
#[Groups]
['posfeature:read', 'feature:read', 'pricing:read']
#[Id]

$name

private string|null $name = null
Attributes
#[Column]
$length: 255
#[Groups]
['posfeature:read', 'feature:read', 'pricing:read']

Methods

getCategory()

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

getCode()

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

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

setCategory()

public setCategory(string|null $category) : static
Parameters
$category : string|null
Return values
static

setCode()

public setCode(string $code) : static
Parameters
$code : string
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