Documentation

Collection

Class Database

Tags
author

Amélie DUVERNET aka Amelaye amelieonline@gmail.com

Attributes
#[Entity]
#[Table]
$name: "collection"

Table of Contents

Properties

$id  : int
$nomCollection  : string

Methods

getId()  : int|null
getNomCollection()  : string
setId()  : mixed
setNomCollection()  : mixed

Properties

$id

private int $id = null
Attributes
#[Column]
$type: "integer"
$length: 5
$nullable: false
$name: "id"
#[GeneratedValue]
#[Id]
#[OneToMany]
$targetEntity: \Amelaye\BioPHP\Domain\Database\Entity\CollectionElement::class
$mappedBy: "id_collection"
$cascade: ["persist"]

$nomCollection

private string $nomCollection = null
Attributes
#[Column]
$type: "string"
$length: 50
$nullable: false

Methods

getId()

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

getNomCollection()

public getNomCollection() : string
Return values
string

setId()

public setId(int $id) : mixed
Parameters
$id : int

setNomCollection()

public setNomCollection(string $nomCollection) : mixed
Parameters
$nomCollection : string
On this page

Search results