Collection
in package
Class Database
Tags
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|nullgetNomCollection()
public
getNomCollection() : string
Return values
stringsetId()
public
setId(int $id) : mixed
Parameters
- $id : int
setNomCollection()
public
setNomCollection(string $nomCollection) : mixed
Parameters
- $nomCollection : string