Toggle navigation
Hot Examples
ES
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Buscar
Inicio
Newscoop
Service
IEntityBaseService
PHP Interface Newscoop\Service\IEntityBaseService
Mostrar archivo
Open project: sourcefabric/newscoop
Public Methods
Method
Description
findById
(
mixed
$id
) :
Newscoop\Entity
Provides the entity that has the provided id.
getById
(
mixed
$id
) :
Newscoop\Entity
Provides the entity that has the provided id.
Method Details
findById()
public
method
Provides the entity that has the provided id.
public
findById
(
mixed
$id
) :
Newscoop\Entity
$id
mixed
The id to be searched, not null, not empty.
return
Newscoop\Entity
The entity, null if no entities could be found for the provided id.
getById()
public
method
Provides the entity that has the provided id.
public
getById
(
mixed
$id
) :
Newscoop\Entity
$id
mixed
The id to be searched, not null, not empty.
return
Newscoop\Entity
The entity, not null.