public function createFromArray(array $row)
    {
        $entities = $this->unitOfWork->getEntityRegistry()->getEntityBuilder()->castToEntity([$row], $this->className);

        return array_shift($entities);
    }