Overview

Namespaces

  • Faulancer
    • Controller
    • Exception
    • Form
      • Validator
        • Type
    • Helper
      • Reflection
    • Http
    • Mail
    • ORM
      • User
    • Service
      • Factory
    • ServiceLocator
    • Session
    • View
      • Helper

Classes

  • AuthenticatorService
  • Config
  • ControllerService
  • DbService
  • DispatcherService
  • HttpService
  • JsonResponseService
  • RequestService
  • ResponseService
  • SessionManagerService
  • Overview
  • Namespace
  • Class

Class DbService

Class DbService

Faulancer\Service\DbService implements Faulancer\ServiceLocator\ServiceInterface
Namespace: Faulancer\Service
Located at Service/DbService.php
Methods summary
public
# __construct( ORM\EntityManager $entityManager )

ORM constructor.

ORM constructor.

Parameters

$entityManager
public ORM\EntityManager
# getManager( )

Returns

ORM\EntityManager
public Faulancer\ORM\Entity|ORM\EntityFetcher
# fetch( Faulancer\Service\string $entity, integer|null $primaryKey = null )

Return the EntityFetcher

Return the EntityFetcher

Parameters

$entity
$primaryKey

Returns

Faulancer\ORM\Entity|ORM\EntityFetcher

Codecoverageignore

Is covered by tflori/orm
public
# save( Faulancer\ORM\Entity $entity )

Save an entity

Save an entity

Parameters

$entity

Codecoverageignore

Is covered by tflori/orm
Properties summary
protected ORM\EntityManager $entityManager
#
API documentation generated by ApiGen