Overview

Namespaces

  • rsanchez
    • Deep
      • App
        • EE
        • Laravel
          • Facade
      • Collection
      • Hydrator
      • Model
      • Plugin
      • Relations
      • Repository

Classes

  • AbstractHydrator
  • AssetsHydrator
  • DateHydrator
  • ExplodeHydrator
  • FileHydrator
  • GridHydrator
  • HydratorFactory
  • MatrixHydrator
  • ParentsHydrator
  • PipeHydrator
  • PlayaHydrator
  • RelationshipHydrator
  • SiblingsHydrator
  • WysiwygHydrator

Interfaces

  • HydratorInterface
  • Overview
  • Namespace
  • Class
  • Tree

Class RelationshipHydrator

Hydrator for the Relationship fieldtype

rsanchez\Deep\Hydrator\AbstractHydrator implements rsanchez\Deep\Hydrator\HydratorInterface
Extended by rsanchez\Deep\Hydrator\RelationshipHydrator
Namespace: rsanchez\Deep\Hydrator
Located at Hydrator/RelationshipHydrator.php
Methods summary
public
# __construct( rsanchez\Deep\Collection\EntryCollection $collection, string $fieldtype, rsanchez\Deep\Model\RelationshipEntry $model )

Constructor

Constructor

Parameters

$collection
rsanchez\Deep\Collection\EntryCollection
$collection
$fieldtype
string
$fieldtype
$model

Overrides

rsanchez\Deep\Hydrator\AbstractHydrator::__construct()
public mixed
# hydrate( rsanchez\Deep\Model\AbstractEntity $entity, rsanchez\Deep\Model\AbstractProperty $property )

Hydrate the specified property (channel field or Matrix/Grid col) on the specified entity (channel entry or Matrix/Grid row)

Hydrate the specified property (channel field or Matrix/Grid col) on the specified entity (channel entry or Matrix/Grid row)

Parameters

$entity
rsanchez\Deep\Model\AbstractEntity
$entity
$property
rsanchez\Deep\Model\AbstractProperty
$property

Returns

mixed
the entity property value
Methods inherited from rsanchez\Deep\Hydrator\AbstractHydrator
preload()
Properties summary
protected rsanchez\Deep\Model\RelationshipEntry $model
#
Properties inherited from rsanchez\Deep\Hydrator\AbstractHydrator
$collection, $fieldtype
API documentation generated by ApiGen 2.8.0