private static function validateParams(array $params) { self::validateNotEmpty($params, 'foreignKey'); self::validateNotEmpty($params, 'class'); }