public function convertToJson($convert = true) {

		if(false === is_bool($convert)) {
			return trigger_error(sprintf('Argument 1 passed to %s() must be of the type Boolean, "%s" given', __METHOD__, gettype($convert)), E_USER_ERROR);
		}

		$this -> convert_json = $convert;

		return $this;
	}
public function convertToJson($convert = true) {

		if(false === is_bool($convert)) {
			return trigger_error(sprintf('Argument 1 passed to %s() must be of the type Boolean, "%s" given', __METHOD__, gettype($convert)), E_USER_ERROR);
		}

		$this -> convert_json = $convert;

		return $this;
	}
public function convertToJson ( $ convert = true ) { if ( false === is_bool ( $ convert ) ) { return trigger_error ( sprintf ( 'Argument 1 passed to %s() must be of the type Boolean, "%s" given' , __METHOD__ , gettype ( $ convert ) ) , E_USER_ERROR ) ; } $ this -> convert_json = $ convert ; return $ this ; }
Columns containing valid JSON will be converted to Array's automatically
@param boolean $convert
@return $this
Columns containing valid JSON will be converted to Array s automatically