Find this useful? Enter your email to receive occasional updates for securing PHP code.
Signing you up...
Thank you for signing up!
PHP Decode
<?php declare(strict_types=1); namespace Doctrine\ORM\Internal\Hydration; /** * Hydrat..
Decoded Output download
<?php
declare(strict_types=1);
namespace Doctrine\ORM\Internal\Hydration;
/**
* Hydrator that produces flat, rectangular results of scalar data.
* The created result is almost the same as a regular SQL result set, except
* that column names are mapped to field names and data type conversions take place.
*/
class ScalarHydrator extends AbstractHydrator
{
/**
* {@inheritDoc}
*/
protected function hydrateAllData(): array
{
$result = [];
while ($data = $this->statement()->fetchAssociative()) {
$this->hydrateRowData($data, $result);
}
return $result;
}
/**
* {@inheritDoc}
*/
protected function hydrateRowData(array $row, array &$result): void
{
$result[] = $this->gatherScalarRowData($row);
}
}
?>
Did this file decode correctly?
Original Code
<?php
declare(strict_types=1);
namespace Doctrine\ORM\Internal\Hydration;
/**
* Hydrator that produces flat, rectangular results of scalar data.
* The created result is almost the same as a regular SQL result set, except
* that column names are mapped to field names and data type conversions take place.
*/
class ScalarHydrator extends AbstractHydrator
{
/**
* {@inheritDoc}
*/
protected function hydrateAllData(): array
{
$result = [];
while ($data = $this->statement()->fetchAssociative()) {
$this->hydrateRowData($data, $result);
}
return $result;
}
/**
* {@inheritDoc}
*/
protected function hydrateRowData(array $row, array &$result): void
{
$result[] = $this->gatherScalarRowData($row);
}
}
Function Calls
None |
Stats
MD5 | 5fee0308d4aca41df454c7982016845e |
Eval Count | 0 |
Decode Time | 108 ms |