src/Core/Db/References/MySql/Column.php
private function _prepareColumnArgument($column)
	{
		if(!is_string($column) && !$column instanceof SqlFunctionInterface)
		{
			throw new \InvalidArgumentException('Argument 1 passed is not the expected type!');
		}
		if($column instanceof SqlFunctionInterface || $column === '*')
		{
			$this->columnName = (string)htmlentities($column, ENT_QUOTES);
		}
		else
		{
			$this->columnName = '`' . htmlentities($column, ENT_QUOTES) . '`';
		}
	}
private function _prepareColumnArgument($column)
	{
		if(!is_string($column) && !$column instanceof SqlFunctionInterface)
		{
			throw new \InvalidArgumentException('Argument 1 passed is not the expected type!');
		}
		if($column instanceof SqlFunctionInterface || $column === '*')
		{
			$this->columnName = (string)htmlentities($column, ENT_QUOTES);
		}
		else
		{
			$this->columnName = '`' . htmlentities($column, ENT_QUOTES) . '`';
		}
	}
private function _prepareColumnArgument ( $ column ) { if ( ! is_string ( $ column ) && ! $ column instanceof SqlFunctionInterface ) { throw new \ InvalidArgumentException ( 'Argument 1 passed is not the expected type!' ) ; } if ( $ column instanceof SqlFunctionInterface || $ column === '*' ) { $ this -> columnName = ( string ) htmlentities ( $ column , ENT_QUOTES ) ; } else { $ this -> columnName = '`' . htmlentities ( $ column , ENT_QUOTES ) . '`' ; } }
This method validate and prepare the column name,
or throw an exception if an invalid argument is passed
as parameter.

@param string $column
This method validate and prepare the column name or throw an exception if an invalid argument is passed as parameter .