Skip to content
This repository has been archived by the owner on Jan 29, 2020. It is now read-only.

Commit

Permalink
Merge 52ba309 into 4c68f2c
Browse files Browse the repository at this point in the history
  • Loading branch information
chris-kruining committed May 27, 2019
2 parents 4c68f2c + 52ba309 commit 444dcac
Showing 1 changed file with 0 additions and 20 deletions.
20 changes: 0 additions & 20 deletions src/Adapter/Adapter.php
Expand Up @@ -234,26 +234,6 @@ public function createStatement($initialSql = null, $initialParameters = null)
return $statement;
}

public function getHelpers()
{
$functions = [];
$platform = $this->platform;
foreach (func_get_args() as $arg) {
switch ($arg) {
case self::FUNCTION_QUOTE_IDENTIFIER:
$functions[] = function ($value) use ($platform) {
return $platform->quoteIdentifier($value);
};
break;
case self::FUNCTION_QUOTE_VALUE:
$functions[] = function ($value) use ($platform) {
return $platform->quoteValue($value);
};
break;
}
}
}

/**
* @param $name
* @throws Exception\InvalidArgumentException
Expand Down

0 comments on commit 444dcac

Please sign in to comment.