LeanQuery/HydratorMeta.php
/**
	 * @param string $table
	 * @param string $primaryKey
	 * @throws InvalidArgumentException
	 */
@param string $table
@param string $primaryKey
@throws InvalidArgumentException
@param string $table @param string $primaryKey @throws InvalidArgumentException
public function addPrimaryKey($table, $primaryKey)
	{
		if (array_key_exists($table, $this->primaryKeysByTables)) {
			throw new InvalidArgumentException;
		}
		$this->primaryKeysByTables[$table] = $primaryKey;
	}
public function addPrimaryKey ( $ table , $ primaryKey ) { if ( array_key_exists ( $ table , $ this -> primaryKeysByTables ) ) { throw new InvalidArgumentException ; } $ this -> primaryKeysByTables [ $ table ] = $ primaryKey ; }
@param string $table
 @param string $primaryKey
 @throws InvalidArgumentException
@param string $table @param string $primaryKey @throws InvalidArgumentException