for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
declare(strict_types = 1);
namespace Agares\MicroORM\TypeMappers;
use Agares\MicroORM\TypeMapperInterface;
final class StringTypeMapper implements TypeMapperInterface
{
/**
* {@inheritdoc}
*/
public function fromString(string $fieldName, array $fields)
return $fields[$fieldName];
}