Class ExplodeStrategy

Summary

Fully Qualified Name: Laminas\Hydrator\Strategy\ExplodeStrategy
Implements: StrategyInterface

Description

Methods

Name Description Defined By
__construct() Constructor ExplodeStrategy
extract() {@inheritDoc} ExplodeStrategy
hydrate() {@inheritDoc} ExplodeStrategy

Method Details

__construct()

Constructor

Parameter Name Type Description
$delimiter string String
$explodeLimit int|null Explode

Returns:

extract()

{@inheritDoc}

Join array elements with delimiter

Parameter Name Type Description
$value string[] The
$object

Returns: string|null

hydrate()

{@inheritDoc}

Split a string by delimiter

Parameter Name Type Description
$value string|null
$data

Returns: string[]

Top