public function ExplodeStrategy::__construct in Zircon Profile 8.0
Same name and namespace in other branches
- 8 vendor/zendframework/zend-hydrator/src/Strategy/ExplodeStrategy.php \Zend\Hydrator\Strategy\ExplodeStrategy::__construct()
Constructor
Parameters
string $delimiter String that the values will be split upon:
int|null $explodeLimit Explode limit:
File
- vendor/
zendframework/ zend-hydrator/ src/ Strategy/ ExplodeStrategy.php, line 30
Class
Namespace
Zend\Hydrator\StrategyCode
public function __construct($delimiter = ',', $explodeLimit = null) {
$this
->setValueDelimiter($delimiter);
$this->explodeLimit = $explodeLimit === null ? null : (int) $explodeLimit;
}