SectionRepository
in
Interface SectionRepository
Defines the contract for section repository operations.
Table of Contents
Methods
- getSectionById() : Section|null
- Retrieves a section by its ID.
Methods
getSectionById()
Retrieves a section by its ID.
public
getSectionById(int $idSection) : Section|null
Parameters
- $idSection : int
-
The ID of the section to retrieve.
Return values
Section|null —Returns the section if found, null otherwise.