Overview

Namespaces

  • Faulancer
    • Console
      • Handler
    • Controller
    • Exception
    • Form
      • Validator
        • Type
    • Helper
      • Reflection
    • Http
    • ORM
    • Service
      • Factory
    • ServiceLocator
    • View
      • Helper

Classes

  • Config
  • ORM
  • Overview
  • Namespace
  • Class

Class ORM

Class ORM

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

ORM constructor.

ORM constructor.

Parameters

$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

public
# save( Faulancer\ORM\Entity $entity )

Save an entity

Save an entity

Parameters

$entity

Codecoverageignore

Properties summary
protected ORM\EntityManager $entityManager
#
API documentation generated by ApiGen