darya/framework

Make AbstractSqlTranslator::translatable() static

Closed this issue · 1 comments

hexus commented

/**
* Determine whether the given value is translatable.
*
* @param mixed $value
* @return bool
*/
protected function translatable($value)
{
return $value instanceof Storage\Query\Builder || $value instanceof Storage\Query;
}

hexus commented

Not going to bother, actually. Not necessary.