Overview

Namespaces

  • PHP
  • vierbergenlars
    • Forage
      • ODM
        • HydrationSettings
      • QueryParser
      • SearchIndex
      • SearchQuery
      • SearchResult
      • Transport

Classes

  • DeferHydration
  • SingleObjectHydration
  • Overview
  • Namespace
  • Class
  • Tree

Class SingleObjectHydration

A simple hydration strategy that injects all parameters as-is in the object.

vierbergenlars\Forage\ODM\HydrationSettings\DeferHydration implements vierbergenlars\Forage\ODM\HydrationSettingsInterface
Extended by vierbergenlars\Forage\ODM\HydrationSettings\SingleObjectHydration
Namespace: vierbergenlars\Forage\ODM\HydrationSettings
Located at vierbergenlars/Forage/ODM/HydrationSettings/SingleObjectHydration.php
Methods summary
public
# __construct( string $className )

Creates a new simple hydration strategy

Creates a new simple hydration strategy

Parameters

$className
string
$className The class that will be hydrated (should implement vierbergenlars\Forage\ODM\Indexable)

Throws

LogicException
Methods inherited from vierbergenlars\Forage\ODM\HydrationSettings\DeferHydration
getClass(), getObject(), getParameters()
Methods inherited from vierbergenlars\Forage\ODM\HydrationSettingsInterface
getDocument(), getDocumentId()
Properties summary
protected string $className
#

The class name of the object that will be injected

The class name of the object that will be injected

Forage-PHP-Client API documentation generated by ApiGen 2.8.0