Свойство | Тип | Описание | |
---|---|---|---|
$em | |||
$entityClassName | string | ||
$id |
Метод | Описание | |
---|---|---|
__construct ( |
Construct the service base d on the provided resource id. | |
findById ( $id ) | ||
getById ( $id ) | * --------------------------------------------------------------- |
Метод | Описание | |
---|---|---|
_init_ ( ) | Provides aditional initialization for the service. | |
getManager ( ) : |
Provides the dictrine entity manager. | |
getResourceId ( ) : Newscoop\Services\Resource\ResourceId | Provides the resource id. |
public __construct ( |
||
$id | The resource id, not null not empty |
abstract protected _init_ ( ) |
public getById ( $id ) |
protected getManager ( ) : |
||
Результат | The doctrine entity manager. |
protected getResourceId ( ) : Newscoop\Services\Resource\ResourceId | ||
Результат | Newscoop\Services\Resource\ResourceId | The resource id. |
protected EntityManager,Doctrine\ORM $em | ||
Результат |